:root{color:#111827;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f3f4f6;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.4}body{margin:0}h1,h2,h3{color:#0f172a;margin:0 0 10px}p{margin:0 0 10px}.crm-list-card>.detail-block[style*="font-size: 12"],.admin-diagnostic-block{display:none!important}.crm-lots-table{table-layout:fixed;width:100%;min-width:0}.crm-lots-table th,.crm-lots-table td{vertical-align:middle;padding:7px 8px}.crm-lots-table th{white-space:normal;line-height:1.25}.crm-lots-table td:first-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.crm-lots-table select,.crm-lots-table input:not([type=checkbox]){width:100%;min-width:0;height:36px;padding:6px 28px 6px 10px}.crm-lots-table small{margin-top:4px;line-height:1.2;display:block}.project-lots-form-help{margin:0 0 8px;font-size:.86rem}.project-lots-consultation-list{gap:8px;display:grid}.project-lot-consultation-card{background:#fff;border:1px solid #e2e8f0;border-left:4px solid #2f855a;border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(220px,max-content);align-items:start;gap:10px;padding:10px 12px;display:grid}.project-lot-consultation-main{grid-template-columns:minmax(110px,.8fr) minmax(140px,1fr) minmax(120px,auto) minmax(0,2.6fr);align-items:start;gap:8px;min-width:0;display:grid}.project-lot-consultation-title,.project-lot-consultation-artisan,.project-lot-consultation-meta span{min-width:0}.project-lot-consultation-title strong,.project-lot-consultation-artisan span:last-child{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.project-lot-consultation-title small,.project-lot-consultation-artisan .crm-info-label{color:#64748b;margin-top:2px;font-size:.76rem;display:block}.project-lot-consultation-meta{color:#334155;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px;min-width:0;font-size:.82rem;display:grid}.project-lot-consultation-meta span{overflow-wrap:anywhere;min-width:0;line-height:1.25;display:block}.project-lot-consultation-meta strong{color:#64748b;text-transform:uppercase;font-size:.72rem;font-weight:700;display:block}.project-lot-consultation-comment{color:#334155;grid-column:1/-1;min-width:0;padding-top:2px;font-size:.84rem;line-height:1.4}.project-lot-consultation-comment strong{color:#64748b;text-transform:uppercase;margin-bottom:2px;font-size:.72rem;font-weight:700;display:block}.project-lot-consultation-comment span{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;display:block}.project-lot-consultation-actions{flex-wrap:wrap;place-content:flex-start flex-end;align-items:flex-start;gap:6px;min-width:0;max-width:360px;display:flex}.project-lot-consultation-actions .quote-action-btn,.project-lot-consultation-actions .status-chip,.project-lot-consultation-actions .quote-lot-date{white-space:nowrap;padding:5px 8px;font-size:.78rem}.project-lot-consultation-actions .status-chip{white-space:normal;text-align:left}@media (width<=900px){.project-lot-consultation-card,.project-lot-consultation-main{grid-template-columns:1fr}.project-lot-consultation-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.project-lot-consultation-actions{justify-content:flex-start;max-width:none}}@media (width<=760px){.crm-lots-table{min-width:680px}}.crm-detail-card .detail-grid>.detail-block:nth-child(2) button.ghost{display:none!important}.crm-detail-card .detail-grid>.detail-block:nth-child(2) p{border-bottom:1px solid #e2e8f0d9;margin-bottom:10px;padding-bottom:10px}.crm-detail-card .detail-grid>.detail-block:nth-child(2) p:last-child{border-bottom:0;margin-bottom:0}.detail-block button.ghost{display:none!important}#project-suivi .suivi-compact-list{gap:7px}#project-suivi .suivi-compact-card{border-radius:12px;gap:10px;min-height:0;padding:8px 12px 8px 16px}#project-suivi .suivi-compact-main{align-self:center}#project-suivi .client-compact-title-row{line-height:1.18}#project-suivi .suivi-compact-progress{margin-top:3px;line-height:1.18}#project-suivi .suivi-compact-side{gap:3px}#project-suivi .suivi-progress-badges{gap:5px;margin-top:0}#project-suivi .suivi-progress-badges .status-chip,#project-suivi .suivi-progress-badges .client-info-badge{min-height:22px;padding:2px 8px}@media (width<=860px){#project-suivi .suivi-compact-card{gap:6px;padding:8px 10px 8px 15px}}.app-header{border:1px solid #dbe5f2f2!important;border-radius:18px!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:12px 18px!important;margin-bottom:16px!important;padding:16px 18px!important;display:grid!important;box-shadow:0 12px 30px #0f172a14!important}.brand-header{grid-area:brand!important;min-width:0!important}.brand-header h1{letter-spacing:-.04em!important;margin:0!important;font-size:clamp(1.7rem,2.7vw,2.35rem)!important;line-height:1.05!important}.brand-logo-wrap{border-radius:16px!important;padding:8px!important}.header-left-zone>div[style*="position: relative"]{z-index:20!important;grid-area:search!important;place-self:center start!important;width:min(100%,520px)!important;position:relative!important}.app-header .crm-search-input{background:linear-gradient(#fff 0%,#f8fbff 100%)!important;border-color:#cbdaf0!important;border-radius:999px!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:40px!important;padding:9px 18px!important;box-shadow:0 8px 18px #0f172a0f,inset 0 1px #ffffffd9!important}.main-nav{grid-area:nav!important;align-items:center!important;gap:8px!important;padding-left:28px!important}.nav-button{color:#102033!important;background:linear-gradient(#fff 0%,#f7fbff 100%)!important;border:1px solid #d4e1f3!important;border-radius:999px!important;padding:8px 15px!important;font-weight:650!important;transition:transform .14s,box-shadow .14s,border-color .14s,background .14s!important;position:relative!important;overflow:hidden!important;box-shadow:0 6px 14px #0f172a0f!important}.nav-button:hover{border-color:#93c5fd!important;transform:translateY(-1px)!important;box-shadow:0 10px 20px #2563eb21!important}.nav-button.active{color:#fff!important;background:linear-gradient(135deg,#1d4ed8 0%,#2563eb 55%,#0ea5e9 100%)!important;border-color:#1d4ed8!important;box-shadow:0 12px 22px #2563eb47!important}.header-user-block{align-self:start!important;gap:6px!important;padding-top:2px!important}.header-user-text{color:#526276!important;margin:0!important;font-size:.88rem!important;line-height:1.15!important}.nav-button-logout{color:#9a3412!important;background:linear-gradient(#fffaf5 0%,#fff7ed 100%)!important;border-color:#fed7aa!important;padding:7px 14px!important;box-shadow:0 6px 14px #f9731614!important}.nav-button-logout:hover{border-color:#fdba74!important;box-shadow:0 10px 18px #f9731624!important}@media (width<=980px){.app-header{grid-template-columns:1fr!important}.header-left-zone{grid-template-columns:1fr!important;grid-template-areas:"brand""search""nav"!important}.header-left-zone>div[style*="position: relative"]{width:100%!important}.main-nav{padding-left:0!important}.header-user-block{align-items:flex-start!important}}.header-left-zone{grid-template-columns:auto minmax(420px,1fr)!important;grid-template-areas:"brand search""nav nav"!important;gap:10px 20px!important}.header-left-zone>div[style*="position: relative"]{width:100%!important}.main-nav{justify-content:flex-start!important;margin-top:4px!important;padding-left:190px!important}@media (width<=1200px){.header-left-zone{grid-template-columns:1fr!important;grid-template-areas:"brand""search""nav"!important}.main-nav{padding-left:0!important}}.header-profile-button{color:#526276;box-shadow:none;background:0 0;border:0;align-items:center;gap:7px;padding:0;font-size:.88rem;font-weight:600;line-height:1.15;display:inline-flex}.header-profile-button:hover,.header-profile-button.is-active{color:#1d4ed8}.header-profile-icon{background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;place-items:center;width:24px;height:24px;font-size:.9rem;display:inline-grid}.header-subtitle{margin:5px 0 0!important;font-size:.98rem!important}.app-header{grid-template-columns:minmax(0,1fr) auto!important}.header-left-zone{grid-template-columns:auto auto minmax(460px,1fr)!important;grid-template-areas:"logo title search""logo nav nav"!important;align-items:center!important;gap:8px 16px!important}.brand-header{display:contents!important}.brand-logo-wrap{grid-area:logo!important;align-self:center!important}.brand-header>div:last-child{grid-area:title!important;align-self:center!important;min-width:270px!important}.brand-logo{object-fit:contain!important;max-width:150px!important;height:112px!important}.header-left-zone>div[style*="position: relative"]{grid-area:search!important;justify-self:start!important;width:100%!important;min-width:460px!important;max-width:780px!important}.app-header .crm-search-input{width:100%!important}.main-nav{flex-wrap:nowrap!important;justify-content:flex-start!important;gap:7px!important;margin-top:0!important;padding-left:0!important}.main-nav .nav-button{white-space:nowrap!important;padding:7px 13px!important}@media (width<=1500px){.header-left-zone{grid-template-columns:auto auto minmax(410px,1fr)!important;gap:8px 12px!important}.brand-header>div:last-child{min-width:250px!important}.header-left-zone>div[style*="position: relative"]{min-width:410px!important;max-width:640px!important}.main-nav{gap:6px!important}.main-nav .nav-button{padding:7px 10px!important}}@media (width<=1200px){.header-left-zone{grid-template-columns:1fr!important;grid-template-areas:"logo""title""search""nav"!important}.brand-header>div:last-child{min-width:0!important}.header-left-zone>div[style*="position: relative"]{width:100%!important;min-width:0!important;max-width:none!important}.main-nav{flex-wrap:wrap!important}}.document-card{background:linear-gradient(#fff 0%,#f8fafc 100%);border:1px solid #94a3b847;border-left:4px solid #2563eb;border-radius:18px;min-width:0;margin-top:18px;padding:18px;box-shadow:0 14px 35px #0f172a14}.document-card-header,.document-item,.document-preview-header{gap:14px;display:flex}.document-card-header{grid-template-columns:minmax(220px,1fr) auto;justify-content:space-between;align-items:flex-start;gap:16px;min-width:0;display:grid}.document-card-header>div:first-child{min-width:0}.document-card h3{margin:0 0 4px}.document-card p{color:#64748b;overflow-wrap:anywhere;margin:0}.document-refresh{white-space:nowrap;justify-content:center;align-items:center;gap:6px;display:inline-flex}.document-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:min(100%,220px);display:flex}.document-upload-grid{grid-template-columns:minmax(260px,.9fr) minmax(360px,1.35fr);align-items:stretch;gap:16px;min-width:0;margin-top:16px;display:grid}.document-dropzone{color:#334155;text-align:center;background:#f8fafc;border:1.5px dashed #94a3b8;border-radius:16px;align-content:center;place-items:center;gap:8px;min-width:0;min-height:176px;padding:22px;transition:border-color .18s,background .18s,transform .18s;display:grid;position:relative}.document-dropzone span{overflow-wrap:anywhere;max-width:34rem}.document-dropzone.is-dragging{background:#eff6ff;border-color:#2563eb;transform:translateY(-1px)}.document-dropzone input[type=file]{opacity:0;cursor:pointer;position:absolute;inset:0}.document-upload-options{background:#fff;border:1px solid #e2e8f0;border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px;min-width:0;padding:14px;display:grid}.document-upload-options label,.document-field{color:#334155;gap:6px;min-width:0;font-weight:700;display:grid}.document-upload-options input,.document-upload-options select,.document-upload-options textarea{box-sizing:border-box;width:100%;min-width:0}.document-upload-options textarea{resize:vertical}.document-info,.document-success,.document-error,.document-empty{border-radius:12px;padding:10px 12px;margin-top:12px!important}.document-info{background:#eff6ff;color:#1d4ed8!important}.document-success{background:#ecfdf5;color:#166534!important}.document-error{background:#fef2f2;color:#b91c1c!important}.document-empty{text-align:center;background:#f8fafc;color:#64748b!important}.document-filters{flex-wrap:wrap;align-items:flex-start;gap:8px;min-width:0;margin-top:14px;display:flex}.document-filters button{color:#475569;white-space:normal;background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:7px 12px;font-weight:700}.document-filters button.is-active{color:#fff;background:#0f172a;border-color:#0f172a}.document-list{gap:10px;margin-top:14px;display:grid}.document-item{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-wrap:wrap;align-items:center;min-width:0;padding:10px}.document-thumb{color:#334155;background:#eef2ff;border-radius:12px;flex:none;place-items:center;width:58px;height:58px;display:grid;overflow:hidden}.document-meta{flex:1;gap:4px;min-width:0;display:grid}.document-meta strong,.document-meta span,.document-meta small{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.35;overflow:visible}.document-meta span,.document-meta small{color:#64748b}.document-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:6px;max-width:132px;display:flex}.document-preview-overlay{z-index:10070;background:#0f172aad;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0}.document-preview-modal{background:#fff;border-radius:18px;width:min(980px,100%);max-height:92vh;padding:16px;overflow:auto;box-shadow:0 25px 80px #0f172a59}.document-preview-header{justify-content:space-between;align-items:center;margin-bottom:12px}.document-preview-modal img{object-fit:contain;border-radius:14px;max-width:100%;max-height:78vh;margin:0 auto;display:block}@media (width<=920px){.document-card-header,.document-upload-grid{grid-template-columns:1fr}.document-header-actions{justify-content:flex-start}}@media (width<=760px){.document-card{padding:14px}.document-upload-options{grid-template-columns:1fr;padding:12px}.document-field-full{grid-column:auto}.document-dropzone{min-height:142px;padding:18px}.document-item{flex-direction:column;align-items:flex-start}.document-actions{justify-content:flex-start}}.document-hint{font-size:13px;color:#475569!important;margin-top:6px!important}.document-card-in-modal{box-shadow:none;margin-top:0}.document-compact-card{background:linear-gradient(#fff 0%,#f8fafc 100%);border:1px solid #94a3b847;border-radius:16px;margin-top:14px;padding:14px;box-shadow:0 10px 25px #0f172a14}.document-compact-main{justify-content:space-between;align-items:center;gap:12px;display:flex}.document-compact-main h3{margin:0 0 4px;font-size:16px}.document-compact-main p{color:#64748b;margin:0}.document-compact-thumbs{gap:8px;margin-top:12px;display:flex}.document-compact-thumbs img{object-fit:cover;border:1px solid #e2e8f0;border-radius:12px;width:52px;height:52px}.document-manager-modal-overlay{z-index:10065;background:#0f172a9e;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.document-manager-modal{background:#fff;border-radius:20px;width:min(1040px,100%);max-height:92vh;padding:16px;overflow-y:auto;box-shadow:0 25px 80px #0f172a59}@media (width<=760px){.document-compact-main{flex-direction:column;align-items:flex-start}.document-manager-modal-overlay{padding:10px}.document-manager-modal{border-radius:16px;max-height:94vh;padding:12px}}.document-edit-overlay{z-index:10075;background:#0f172a9e;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.document-edit-modal{background:#fff;border-radius:20px;width:min(720px,100%);max-height:92vh;padding:18px;overflow-y:auto;box-shadow:0 25px 80px #0f172a59}.document-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.document-edit-grid label{color:#334155;gap:6px;font-weight:700;display:grid}.document-edit-full{grid-column:1/-1}.document-edit-actions{justify-content:flex-end;margin-top:16px}@media (width<=760px){.document-edit-grid{grid-template-columns:1fr}.document-edit-overlay{padding:10px}.document-edit-modal{border-radius:16px;max-height:94vh;padding:14px}}.document-item.is-clickable{cursor:pointer;transition:transform .16s,border-color .16s,box-shadow .16s}.document-item.is-clickable:hover{border-color:#bfdbfe;transform:translateY(-1px);box-shadow:0 12px 28px #2563eb1a}.document-upload-progress{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:14px;gap:5px;margin-top:12px;padding:12px 14px;display:grid}.document-upload-progress strong,.document-upload-progress span{display:block}.document-upload-progress ul{color:#b91c1c;margin:4px 0 0;padding-left:18px}.document-dropzone .document-folder-input{pointer-events:none;display:none}.documents-page,.documents-library-page{gap:14px;width:100%;min-width:0;max-width:100%;display:grid;overflow:hidden}.documents-header,.documents-library-header{justify-content:space-between;align-items:flex-start;gap:14px;width:100%;min-width:0;display:flex}.documents-header>div,.documents-library-header>div{min-width:0}.documents-header h2,.documents-library-header h2{margin:0 0 6px}.documents-header .section-intro,.documents-library-header .section-intro{margin:0}.documents-counter{white-space:nowrap;flex:none}.documents-toolbar,.documents-library-toolbar{background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #dbe7f4;border-radius:16px;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;min-width:0;max-width:100%;margin-bottom:0;padding:12px;display:grid;overflow:hidden;box-shadow:inset 0 1px #ffffffb3,0 10px 24px #0f172a0a}.documents-toolbar-row{align-items:center;gap:8px;width:100%;min-width:0;display:flex}.documents-toolbar-filters{flex-wrap:wrap;justify-content:flex-start}.documents-toolbar-filters select{flex:0 150px;width:auto;min-width:126px;max-width:190px}.documents-search{flex:auto;min-width:0;max-width:100%}.documents-search .crm-search-input{background:#fff;border-radius:14px;width:100%;min-width:0;max-width:none;height:44px;box-shadow:0 8px 18px #0f172a0d,inset 0 1px #fffc}.documents-sort-controls{flex:none;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.documents-toolbar select,.documents-library-toolbar select{color:#334155;background-color:#fff;border-color:#d7e1ee;border-radius:12px;min-width:0;height:42px;font-weight:700}.documents-sort-controls select:first-child{width:178px}.documents-sort-controls select:last-child{width:150px}.documents-filters,.documents-toolbar-actions{display:contents}.documents-library-list{gap:8px;width:100%;min-width:0;max-width:100%}.document-row,.documents-library-item{width:100%;min-width:0;max-width:100%;padding:10px}.document-row{flex-wrap:wrap}.documents-library-item .document-thumb{width:52px;height:52px}.documents-library-meta{gap:3px;min-width:0}.document-actions,.documents-library-actions{min-width:0}.documents-library-actions{flex:0 auto;gap:4px;margin-left:auto}.documents-library-actions button{border-radius:10px;min-height:34px;padding:7px 9px;font-size:12px;font-weight:800}.documents-library-actions .document-action-icon{color:#1e3a8a;background:linear-gradient(#fff 0%,#f5f8ff 100%);border:1px solid #d7e1ee;border-radius:11px;place-items:center;width:36px;height:36px;min-height:36px;padding:0;transition:transform .16s,border-color .16s,background .16s,color .16s,box-shadow .16s;display:inline-grid;box-shadow:0 7px 16px #2563eb1a}.documents-library-actions .document-action-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.documents-library-actions .document-action-icon:hover{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd;transform:translateY(-1px);box-shadow:0 10px 20px #2563eb2e}.documents-library-actions .document-action-icon.is-danger{color:#b91c1c;border-color:#fee2e2;box-shadow:0 7px 16px #b91c1c14}.documents-library-actions .document-action-icon.is-danger:hover{color:#991b1b;background:#fef2f2;border-color:#fecaca;box-shadow:0 10px 20px #b91c1c24}.documents-pagination{width:100%;min-width:0;max-width:100%}@media (width<=1366px){.documents-toolbar-filters select{flex-basis:138px;min-width:116px}.documents-sort-controls select:first-child{width:166px}.documents-sort-controls select:last-child{width:142px}}@media (width<=1024px){.documents-toolbar-search-sort{flex-direction:column;align-items:stretch}.documents-sort-controls{justify-content:flex-start;width:100%}.documents-sort-controls select{flex:180px;width:auto!important}.documents-library-actions{flex-basis:100%;justify-content:flex-start;margin-left:66px}}@media (width<=760px){.document-header-actions,.documents-header,.documents-library-header{flex-direction:column;align-items:stretch}.documents-counter{white-space:normal;align-self:flex-start}.documents-toolbar-filters,.documents-sort-controls{flex-direction:column;align-items:stretch}.documents-toolbar-filters select,.documents-sort-controls select{max-width:100%;width:100%!important}.documents-library-actions{width:100%;margin-left:0}}.document-preview-modal-gallery{background:#fff;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;width:min(1180px,100%);max-height:94vh;padding:14px;display:grid;overflow:hidden}.document-preview-modal-gallery .document-preview-header{align-items:center;margin:0;padding:0 2px 2px}.document-preview-modal-gallery .document-preview-header h3{text-overflow:ellipsis;white-space:nowrap;max-width:min(760px,72vw);margin:0;font-size:1.05rem;overflow:hidden}.document-preview-close{flex:none}.document-preview-stage{background:#f8fafc;border:1px solid #dbe7f4f2;border-radius:18px;min-width:0;min-height:0;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffffd9}.document-preview-canvas{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;background:#f8fafc;border-radius:0;justify-content:center;align-items:center;min-height:min(62vh,680px);max-height:68vh;margin-top:0;padding:18px;display:flex;overflow:auto}.document-preview-canvas.is-fit{cursor:default;overflow:hidden}.document-preview-canvas.is-manual{cursor:grab;justify-content:flex-start;align-items:flex-start}.document-preview-modal .document-preview-canvas img{object-fit:contain;transform-origin:50%;background:#fff;border-radius:12px;max-width:100%;max-height:64vh;margin:auto;transition:transform .18s;display:block;box-shadow:0 18px 42px #0f172a24}.document-preview-canvas.is-fit img{width:auto}.document-preview-canvas.is-manual img{flex:none;max-width:none;max-height:none;margin:0}.document-preview-canvas::-webkit-scrollbar{width:9px;height:9px}.document-preview-canvas::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.document-preview-float-nav{z-index:3;color:#1e3a8a;opacity:0;-webkit-backdrop-filter:blur(10px);background:#ffffffe0;border:1px solid #cbd5e1b8;border-radius:999px;place-items:center;width:44px;height:44px;padding:0;transition:opacity .16s,transform .16s,background .16s,border-color .16s;display:inline-grid;position:absolute;top:50%;transform:translateY(-50%)scale(.96);box-shadow:0 14px 30px #0f172a29}.document-preview-float-nav.is-previous{left:16px}.document-preview-float-nav.is-next{right:16px}.document-preview-stage:hover .document-preview-float-nav:not(:disabled),.document-preview-float-nav:focus-visible{opacity:1;transform:translateY(-50%)scale(1)}.document-preview-float-nav:hover:not(:disabled){background:#fff;border-color:#93c5fd}.document-preview-float-nav:disabled{opacity:0;pointer-events:none}.document-preview-toolbar{background:#f8fafc;border:1px solid #94a3b838;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:0;padding:8px;display:flex;box-shadow:inset 0 1px #ffffffd1}.document-preview-toolbar-group{background:#ffffffdb;border:1px solid #dbe7f4e6;border-radius:14px;align-items:center;gap:6px;min-width:0;padding:3px;display:inline-flex}.document-preview-count{color:#334155;min-height:38px;padding:0 12px;font-size:13px;font-weight:900}.document-preview-toolbar .document-preview-tool-btn{color:#1e3a8a;background:#fff;border:1px solid #dbeafe;border-radius:11px;place-items:center;width:36px;height:36px;min-height:36px;padding:0;font-size:12px;font-weight:900;line-height:1;transition:background .16s,border-color .16s,transform .16s,opacity .16s,box-shadow .16s;display:inline-grid;box-shadow:0 6px 14px #2563eb17}.document-preview-toolbar .document-preview-tool-btn.is-text{width:auto;min-width:70px;padding:0 10px}.document-preview-toolbar .document-preview-tool-btn:hover:not(:disabled){background:#eff6ff;border-color:#93c5fd;transform:translateY(-1px);box-shadow:0 10px 18px #2563eb29}.document-preview-toolbar .document-preview-tool-btn:disabled{opacity:.42;cursor:not-allowed;box-shadow:none;transform:none}.document-zoom-select{color:#1e3a8a;background:#fff;border:1px solid #dbeafe;border-radius:11px;width:96px;min-width:96px;height:36px;padding:0 10px;font-size:12px;font-weight:900}.document-preview-counter,.document-preview-note{font-size:13px;color:#64748b!important;margin:2px 0 0!important}@media (width<=760px){.document-preview-modal-gallery{max-height:94vh;padding:10px}.document-preview-modal-gallery .document-preview-header h3{max-width:68vw;font-size:1rem}.document-preview-canvas{min-height:300px;max-height:58vh;padding:12px}.document-preview-toolbar{justify-content:flex-start;overflow-x:auto}.document-preview-float-nav{opacity:1;width:40px;height:40px}.document-preview-float-nav.is-previous{left:10px}.document-preview-float-nav.is-next{right:10px}}.documents-pagination{justify-content:space-between;align-items:center;gap:12px;display:flex}.documents-pagination p{margin:0}.document-card{max-width:100%;container-type:inline-size}.document-card,.document-card *{min-width:0}.document-upload-grid{grid-template-columns:minmax(280px,.9fr) minmax(420px,1.1fr);max-width:100%}.document-upload-options{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));max-width:100%}.crm-section-body .document-card{box-shadow:none;border-left-width:1px;margin-top:0}.crm-section-body .document-card .document-upload-grid{grid-template-columns:minmax(260px,.85fr) minmax(380px,1.15fr)}@container (width<=860px){.document-card-header,.document-upload-grid,.crm-section-body .document-card .document-upload-grid{grid-template-columns:1fr}.document-header-actions{justify-content:flex-start}}@container (width<=560px){.document-card{padding:14px}.document-upload-options{grid-template-columns:1fr;padding:12px}.document-dropzone{min-height:142px;padding:18px}}.crm-section-body .document-card{border-left-color:#94a3b847}.document-header-actions button,.document-header-actions .document-refresh{min-height:40px}.document-dropzone{min-height:180px;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:26px!important}.document-dropzone span{max-width:44rem;margin-inline:auto}.document-upload-options{box-sizing:border-box!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;width:100%!important;min-width:0!important;max-width:100%!important;display:grid!important;overflow:visible!important}.document-filters button{flex:0 auto;max-width:100%}.crm-section-body .document-card{box-shadow:none!important;margin-top:0!important}.crm-section-body .document-card .document-card{border-left-width:0!important}@media (width<=760px){.document-card{padding:12px!important}.document-dropzone{min-height:150px;padding:18px!important}.document-upload-options{grid-template-columns:1fr!important}.document-header-actions button,.document-header-actions .document-refresh{width:100%}}.prospection{max-width:1240px;margin-inline:auto}.prospection>.detail-header{border-bottom:1px solid #e6edf7;margin-bottom:20px;padding:4px 4px 22px}.prospection>.detail-header h2{letter-spacing:-.7px;color:#102345;font-size:clamp(23px,2.4vw,32px)}.prospection>.detail-header p{color:#64748b;margin:7px 0 0}.prospect-form-v2{gap:18px;display:grid}.prospect-section-guide{justify-content:center;align-items:center;gap:22px;padding:0 0 10px;display:flex}.prospect-section-guide a{color:#23416a;align-items:center;gap:10px;font-weight:650;text-decoration:none;display:flex}.prospect-section-guide b{color:#1d4ed8;background:#e9f0fd;border-radius:50%;place-items:center;width:32px;height:32px;font-size:15px;display:grid}.prospect-section-guide span{background:#cbd8eb;width:70px;height:1px}.prospect-form-v2 .prospect-panel{border:1px solid #d9e4f4;border-radius:16px;margin:0;padding:24px;scroll-margin-top:18px;box-shadow:0 3px 12px #17365b06}.prospect-section-title{align-items:center;gap:22px;margin-bottom:20px;display:flex}.prospect-section-title h3{color:#132d50;letter-spacing:-.4px;white-space:nowrap;margin:0!important;font-size:22px!important}.prospect-section-title p{color:#64748b;border-left:1px solid #dbe5f2;margin:0;padding-left:20px;font-size:13px}.prospect-form-v2 label{color:#33445d;gap:7px;font-size:13px;font-weight:600;display:grid}.prospect-form-v2 input:not([type=checkbox]):not([type=radio]),.prospect-form-v2 textarea{box-sizing:border-box;color:#1e293b;width:100%;min-height:43px;box-shadow:none;background:#fff;border:1px solid #ccd9e9;border-radius:9px;padding:11px 12px;font-size:14px;font-weight:400}.prospect-form-v2 input:focus,.prospect-form-v2 textarea:focus{border-color:#3b82f6;outline:2px solid #3b82f633}.prospect-form-v2 input:disabled,.prospect-form-v2 textarea:disabled{color:#526378;background:#f7f9fc}.prospect-form-v2 input[type=radio],.prospect-form-v2 input[type=checkbox]{accent-color:#1460de;flex-shrink:0;width:17px;height:17px}.prospect-identity{grid-template-columns:.65fr 1.5fr 1.3fr;gap:18px;margin-top:18px;display:grid}.prospect-contact-grid{grid-template-columns:2fr 1fr;align-items:start;gap:18px;margin-top:18px;display:grid}.prospect-two-fields{grid-template-columns:1fr 1fr;gap:18px;display:grid}.prospect-phone-help{color:#24549a;background:#eff6ff;border-radius:6px;margin:7px 0 2px;padding:7px 10px;font-size:12px;font-weight:600}.prospect-form-v2 .is-valid input{border-color:#78b78c}.prospect-form-v2 .has-error input{border-color:#dc4854}.prospect-field-error{color:#b42332;font-size:12px;font-weight:400;line-height:1.45}.prospect-address-row{grid-template-columns:2fr 1fr;gap:18px;margin:18px 0;display:grid}.prospect-postal-row{grid-template-columns:1fr 2fr;align-items:start;gap:18px;margin:16px 0;display:grid}.prospect-town{position:relative}.prospect-town-menu{z-index:90;background:#fff;border:1px solid #d5e1f2;border-radius:10px;max-height:230px;padding:7px;position:absolute;top:67px;left:0;right:0;overflow-y:auto;box-shadow:0 10px 30px #19345d26}.prospect-town-menu>small{color:#64748b;padding:6px 8px;font-size:11px;display:block}.prospect-town-menu p{color:#64748b;margin:9px;font-size:12px}.prospect-town-menu button{text-align:left;border-radius:7px;justify-content:space-between;gap:10px;width:100%;font-size:13px;display:flex;color:#1e3a5f!important;box-shadow:none!important;background:0 0!important;border:0!important;padding:9px 10px!important}.prospect-town-menu button[aria-selected=true],.prospect-town-menu button:hover{background:#eaf2ff!important}.prospect-town-menu button small{color:#64748b}.prospect-form-v2 .prospect-hint{color:#657a96;margin:6px 0;font-size:12px;font-weight:400;line-height:1.5;display:block}.prospect-selected-client{color:#216137;background:#edf9f0;border:1px solid #d6eedb;border-radius:8px;justify-content:space-between;align-items:center;margin-top:10px;padding:10px 13px;font-size:13px;display:flex}.prospect-selected-client button,.prospection .prospect-text-button{font-size:12px;text-decoration:underline;color:#165cd6!important;box-shadow:none!important;background:0 0!important;border:0!important;padding:6px!important}.prospect-optional{background:#f8faff;border:1px solid #e0e8f4;border-radius:8px;margin-top:18px}.prospect-optional summary{cursor:pointer;color:#2b4569;padding:10px 12px;font-size:13px;font-weight:600}.prospect-optional summary span{color:#7a8ba3;margin-left:8px;font-size:12px;font-weight:400}.prospect-optional>div{padding:14px}.prospect-project-main{grid-template-columns:1.4fr 1.2fr .8fr;gap:18px;margin-bottom:18px;display:grid}.prospect-form-v2 .prospect-address{border:0;flex-wrap:wrap;gap:12px;margin:20px 0 12px;padding:0;display:flex}.prospect-form-v2 .prospect-address legend{color:#33445d;margin-bottom:9px;font-size:13px;font-weight:600}.prospect-form-v2 .prospect-address label{background:#f8fbff;border:1px solid #e0e9f8;border-radius:8px;align-items:center;gap:8px;padding:10px 12px;font-size:13px;font-weight:400;display:flex}.prospect-address-recap{color:#315c43;background:#edf8f1;border:1px solid #d9ede0;border-radius:8px;margin-bottom:18px;padding:11px 13px;font-size:13px}.prospect-form-v2 .prospect-trades{gap:10px}.prospect-form-v2 .prospect-trades label{background:#fafcff;border:1px solid #dbe4f2;border-radius:9px;gap:10px;padding:11px 15px;font-size:13px;font-weight:500;display:flex}.prospect-form-v2 .prospect-trades label.is-selected{color:#154fa9;background:#edf4ff;border-color:#9bbdf7}.prospect-artisan-wishes{background:#fbfdff;border:1px solid #dfe8f6;border-radius:10px;margin:18px 0;padding:16px}.prospect-artisan-wishes h4{color:#264567;margin:0 0 14px;font-size:14px}.prospect-artisan-wishes h4 span{color:#6b7d93;background:#edf2f8;border-radius:5px;margin-left:8px;padding:3px 6px;font-size:11px;font-weight:400}.prospect-wish-row{grid-template-columns:150px 1fr;align-items:center;gap:18px;margin-bottom:12px;display:grid}.prospect-wish-row>strong{color:#334b68;font-size:13px;font-weight:600}.prospect-form-v2 .prospect-check{background:0 0;align-items:center;gap:9px;font-size:13px;font-weight:400;display:flex}.prospect-form-v2 .prospect-actions{z-index:30;background:#fffffff5;border-top:1px solid #e1e8f2;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;margin:0 -4px;padding:15px 4px;display:flex;position:sticky;bottom:0}.prospect-actions>small{color:#71839a;margin-right:auto;font-size:11px}.prospection .prospect-secondary{color:#1e57b6!important;box-shadow:none!important;background:#fff!important;border:1px solid #8db1eb!important}.prospection .prospect-primary{color:#fff!important;background:#105bdd!important;border:1px solid #105bdd!important}.prospection .prospect-primary,.prospection .prospect-secondary{border-radius:9px;padding:12px 18px;font-size:13px;font-weight:600}@media (width<=760px){.prospect-section-title{display:block}.prospect-section-title h3{font-size:20px!important}.prospect-section-title p{border:0;margin-top:7px;padding:0}.prospect-form-v2 .prospect-panel{padding:17px}.prospect-identity,.prospect-contact-grid,.prospect-project-main,.prospect-address-row,.prospect-two-fields{grid-template-columns:1fr}.prospect-phone-pair .prospect-two-fields{grid-template-columns:1fr 1fr}.prospect-postal-row{grid-template-columns:100px 1fr;gap:12px}.prospect-wish-row{grid-template-columns:1fr;gap:7px}.prospect-section-guide{gap:12px}.prospect-section-guide span{width:25px}.prospect-section-guide a{gap:6px;font-size:13px}.prospect-section-guide b{width:26px;height:26px}.prospect-actions>small{width:100%}.prospect-actions>button{flex:1}.prospect-optional summary span{margin:5px 0 0;display:block}.prospect-selected-client{align-items:flex-start;gap:7px}}.prospect-form-v2 .crm-searchable-select:after{content:"⌄";color:#6a7e99;pointer-events:none;font-size:18px;position:absolute;top:31px;right:12px}.prospect-form-v2 .crm-searchable-select>input{padding-right:32px!important}.prospection .prospect-complement{color:#693d12;background:#fff6e9;border:2px solid #ea9b35;border-left:7px solid #db8617;border-radius:16px;margin:20px 0;padding:24px}.prospect-complement h3{color:#713d08;margin:0 0 12px}.prospect-complement-message{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border-radius:10px;padding:18px;font-size:1.08rem;line-height:1.6}.prospect-complement-link{color:#fff;background:#925310;border-radius:9px;margin-top:16px;padding:12px 18px;font-weight:700;display:inline-block}.prospect-section-guide button{font:inherit;align-items:center;gap:12px;font-weight:700;display:flex;color:#21466b!important;box-shadow:none!important;background:0 0!important;border:0!important}.prospect-locked{color:#214e38;background:#eaf7f0;border:1px solid #b8ddc8;border-radius:12px;padding:20px}.prospect-client-summary{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:24px 0;display:grid}.prospect-client-summary dt{color:#667b91;font-size:13px}.prospect-client-summary dd{overflow-wrap:anywhere;margin:5px 0 0;font-weight:600}.committee-toolbar{flex-wrap:wrap;align-items:center;gap:16px;margin:20px 0;display:flex}.committee-members{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.committee-members label{background:#fff;border:1px solid #d7e4f2;border-radius:12px;align-items:center;gap:14px;padding:18px;display:flex}.committee-members label.is-selected{background:#edf5ff;border-color:#5e99e8}.committee-members small{color:#667b91;margin-top:5px;display:block}.committee-save-bar{background:#fff;border-top:1px solid #dbe6f2;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;padding:18px 0;display:flex;position:sticky;bottom:0}.communications-table td{vertical-align:top}.communications-table button{margin:4px}.prospect-panel{scroll-margin-top:24px}.prospect-compact{max-width:1160px;margin-inline:auto}.prospect-compact .detail-header{margin-bottom:18px}.prospect-compact .prospect-panel{margin:16px 0;padding:20px}.prospect-summary dl{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:14px 0;display:grid}.prospect-summary dt{color:#73849a;font-size:12px}.prospect-summary dd{overflow-wrap:anywhere;margin:4px 0;font-weight:600}.prospect-summary-description{background:#f3f7fc;border-radius:10px;padding:14px}.prospect-summary-description p{white-space:pre-wrap;margin:6px 0;line-height:1.5}.prospect-summary-lots{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;display:grid}.prospect-summary-lots div{border:1px solid #dce6f3;border-radius:9px;gap:5px;padding:10px;display:grid}.prospect-compact h4{margin:14px 0 9px}.prospect-compact .prospect-grid{gap:20px}.prospect-compact .prospect-candidate{padding:12px}.prospect-compact>.inline-actions{flex-wrap:wrap;justify-content:flex-end;margin:16px 0}.popup-premium-header{background:linear-gradient(#f8fbff 0%,#fff 100%);border:1px solid #e2e8f0;border-radius:12px;gap:6px;padding:10px 12px;display:grid}.popup-premium-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.popup-premium-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;gap:4px;padding:8px 10px;display:grid}.popup-premium-label{color:#64748b;font-size:12px;font-weight:600}.crm-contact-extra .crm-kv-list{gap:0;display:grid}.crm-contact-extra .crm-kv-list p{border-bottom:1px solid #e8eef6;grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);align-items:baseline;gap:12px;margin:0;padding:9px 0;display:grid}.crm-contact-extra .crm-kv-list p:last-child{border-bottom:0}.crm-contact-extra .crm-kv-list span,.crm-contact-extra .crm-kv-list strong{overflow-wrap:anywhere;min-width:0}@media (width<=760px){.crm-contact-extra .crm-kv-list p{grid-template-columns:1fr;gap:3px}}.suivi-form-modal-card{flex-direction:column;max-height:92vh;display:flex;overflow:hidden}.suivi-form-modal-body{flex:auto;min-height:0;padding:18px 0 22px;overflow:auto}.suivi-form-modal-footer{background:#fff;border-top:1px solid #e2e8f0;flex:none;justify-content:flex-end;gap:10px;padding:14px 0 0;display:flex}.suivi-quarter-inputs{grid-template-columns:minmax(0,1fr) 120px;gap:8px;display:grid}.suivi-form-end-estimate{display:none}.suivi-lots-grid-compact{max-height:320px;padding-bottom:10px;padding-right:4px;overflow:auto}.project-suivi-actions{margin-bottom:16px}.crm-section-tools+.client-compact-list.suivi-compact-list{margin-top:16px}.suivi-compact-list{gap:12px}.suivi-state-overdue{border-left-color:#ef4444!important}.suivi-state-today{border-left-color:#8b5cf6!important}.suivi-state-future{border-left-color:#2563eb!important}.suivi-state-done{border-left-color:#22c55e!important}.suivi-state-progress{border-left-color:#2563eb!important}.suivi-state-todo{border-left-color:#f97316!important}.suivi-state-cancelled,.suivi-state-neutral{border-left-color:#64748b!important}.suivi-compact-card.suivi-state-overdue,.suivi-compact-card.suivi-state-overdue:before{background-color:#ef4444!important;border-left-color:#ef4444!important}.suivi-compact-card.suivi-state-today,.suivi-compact-card.suivi-state-today:before{background-color:#8b5cf6!important;border-left-color:#8b5cf6!important}.suivi-compact-card.suivi-state-future,.suivi-compact-card.suivi-state-future:before{background-color:#2563eb!important;border-left-color:#2563eb!important}.suivi-compact-card.suivi-state-done,.suivi-compact-card.suivi-state-done:before{background-color:#22c55e!important;border-left-color:#22c55e!important}.suivi-compact-card.suivi-state-progress,.suivi-compact-card.suivi-state-progress:before{background-color:#2563eb!important;border-left-color:#2563eb!important}.suivi-compact-card.suivi-state-todo,.suivi-compact-card.suivi-state-todo:before{background-color:#f97316!important;border-left-color:#f97316!important}.suivi-compact-card.suivi-state-cancelled,.suivi-compact-card.suivi-state-cancelled:before,.suivi-compact-card.suivi-state-neutral,.suivi-compact-card.suivi-state-neutral:before{background-color:#64748b!important;border-left-color:#64748b!important}.project-suivi-pagination{width:max-content;margin-top:18px;margin-left:auto}.project-suivi-pagination.crm-pagination-nav{justify-content:flex-end;display:flex}.project-suivi-pagination:not(.crm-pagination-nav){color:#475569;background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);border:1px solid #dbe6f3;border-radius:999px;align-items:center;gap:8px;min-height:38px;padding:4px;font-size:.88rem;display:flex;box-shadow:0 8px 18px #0f172a0f}.project-suivi-pagination:not(.crm-pagination-nav) .ghost{min-height:30px;box-shadow:none;border-radius:999px;padding:5px 10px}.project-suivi-page-indicator{color:#334155;white-space:nowrap;border-radius:999px;align-items:center;min-height:30px;padding:5px 10px;font-size:.88rem;font-weight:800;display:inline-flex}@media (width<=640px){.project-suivi-pagination{border-radius:16px;justify-content:space-between;width:100%}}*{box-sizing:border-box}.mobile-menu-toggle{display:none!important}.app-shell,.login-shell{max-width:1200px;margin:0 auto;padding:24px}.app-header{border-bottom:1px solid #e5e7eb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding-bottom:10px;display:flex}.brand-header{align-items:center;gap:12px;display:flex}.brand-logo{width:auto;height:50px}.header-subtitle{color:#4b5563;margin-top:6px}.main-nav{flex-wrap:wrap;gap:10px;display:flex}.nav-button{color:#1f2937;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 12px}.nav-button.active{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.nav-button-logout{background:#fff7ed;border-color:#fdba74}.card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;margin-bottom:16px;padding:18px}.sub-card{border-top:1px solid #e5e7eb;margin-top:16px;padding-top:12px}.section-intro{color:#4b5563;margin-bottom:14px}.form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-bottom:14px;display:grid}.form-full-width{grid-column:1/-1}input,select,textarea,button{font:inherit}input,select,textarea{background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;padding:8px 10px}label{color:#374151;gap:6px;font-size:.95rem;display:grid}button{color:#fff;cursor:pointer;background:#1d4ed8;border:1px solid #1d4ed8;border-radius:8px;padding:8px 12px}button.ghost{color:#1d4ed8;background:#fff}button:disabled{cursor:not-allowed;opacity:.55}.table-wrapper{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #e5e7eb;padding:10px}th{color:#334155;background:#f8fafc}tbody tr:hover{background:#f8fafc}tr.is-selected{background:#eff6ff}.row-actions,.inline-actions{flex-wrap:wrap;gap:8px;display:flex}.artisan-form-card{max-width:1100px}.artisan-form-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:12px;padding:11px 12px}.artisan-form-section h3{margin:0 0 10px;font-size:1rem}.artisan-metiers-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.artisan-metier-card{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:10px;align-items:center;gap:10px;padding:10px 12px;transition:all .16s;display:flex}.artisan-metier-card:hover{background:#f8fbff;border-color:#93c5fd}.artisan-metier-card.is-selected{background:#eff6ff;border-color:#2563eb}.suivi-lots-section{gap:10px;display:grid}.suivi-lots-actions{align-items:center;margin-bottom:2px}.suivi-lots-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;display:grid}.suivi-lot-card{cursor:pointer;background:#f8fafc;border:1px solid #dbe3ee;border-radius:12px;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;padding:10px 12px;transition:background-color .14s,border-color .14s,box-shadow .16s;display:grid}.suivi-lot-card:hover{background:#f8fbff;border-color:#bfdbfe}.suivi-lot-card.is-selected{background:#eff6ff;border-color:#3b82f6}.suivi-lot-checkbox{width:16px;height:16px;margin-top:2px}.suivi-lot-text{gap:2px;min-width:0;display:grid}.suivi-lot-text strong{color:#0f172a;font-weight:700;line-height:1.25}.suivi-lot-text small{color:#64748b;font-size:.84rem;line-height:1.2}.suivi-lot-empty-card{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px}@media (width<=720px){.suivi-lots-grid{grid-template-columns:1fr}}.artisan-metier-card input[type=checkbox]{width:16px;height:16px;margin:0}.artisan-metiers-count{color:#1e3a8a;margin:6px 0 10px;font-weight:600}.artisan-metiers-badges{flex-wrap:wrap;gap:6px;display:flex}.artisan-metier-badge{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;padding:3px 10px;font-size:.82rem;display:inline-flex}.artisan-form-actions{justify-content:flex-end}.pilot-option-card{background:#fff;border:1px solid #dbe3ef;border-radius:12px;margin-bottom:10px;padding:10px 12px;transition:background .18s,border-color .18s,box-shadow .18s}.pilot-option-card.is-active{background:#eff6ff;border-color:#3b82f6;box-shadow:0 4px 12px #2563eb14}.pilot-switch-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.pilot-switch-row strong{line-height:1.25;display:inline-block}.pilot-switch-row small{color:#64748b;margin-top:4px;font-size:.82rem;display:block}.pilot-switch{flex:0 0 46px;width:46px;height:26px;margin-top:1px;position:relative}.pilot-switch input{opacity:0;width:0;height:0}.pilot-switch-slider{background:#cbd5e1;border-radius:999px;transition:all .18s;position:absolute;inset:0}.pilot-switch-slider:before{content:"";background:#fff;border-radius:999px;width:20px;height:20px;transition:all .18s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0003}.pilot-switch input:checked+.pilot-switch-slider{background:#2563eb}.pilot-switch input:checked+.pilot-switch-slider:before{transform:translate(20px)}.pilot-preview{margin:8px 0 0}.pilot-active-badge{color:#1e40af;background:#dbeafe;border:1px solid #bfdbfe;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:.82rem;font-weight:600;display:inline-flex}.pilot-manual-field{margin-top:8px}.login-shell{background:radial-gradient(1200px 500px at 50% -10%,#2563eb1f,#0000 60%),linear-gradient(#f8fbff 0%,#f1f5f9 100%);place-items:center;max-width:none;min-height:100vh;margin:0;padding:32px 16px;display:grid}.login-card{background:#fffffff5;border:1px solid #dbeafe;border-radius:24px;width:min(100%,560px);margin:0;padding:40px 36px;box-shadow:0 28px 56px #0f172a24,0 2px 6px #0f172a0f}.login-header{text-align:center;margin-bottom:16px}.login-header h1{color:#0f172a;margin:0;font-size:1.52rem;line-height:1.25}.login-subtitle{text-align:center;color:#334155;margin:0 0 24px;font-size:1rem}.login-logo{object-fit:contain;width:168px;height:auto;margin:0 auto 24px;display:block}.login-logo-fallback{color:#0f172a;text-align:center;margin:0 0 24px;font-weight:700;display:none}.login-card .form-grid{grid-template-columns:1fr;gap:12px;margin-bottom:18px}.login-feedback{margin:8px 0 0}.login-feedback-error{color:#b91c1c}.login-feedback-success{color:#166534}.login-secondary{text-align:center;color:#64748b;margin:-8px 0 26px;font-size:.95rem;line-height:1.45}.login-card input{color:#0f172a;border:1px solid #d6deea;border-radius:12px;height:46px;padding:0 14px;transition:border-color .18s,box-shadow .18s,background-color .18s}.login-card input::placeholder{color:#94a3b8}.login-card input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 4px #2563eb24}.password-field-wrap{position:relative}.password-input{padding-right:52px!important}.password-toggle{color:#64748b;background:0 0;border:0;border-radius:10px;place-items:center;width:34px;height:34px;transition:background-color .17s,color .17s,transform .13s;display:grid;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.password-toggle:hover{color:#1d4ed8;background:#eef2ff}.password-toggle:focus-visible{outline-offset:1px;outline:2px solid #93c5fd}.password-toggle:active{transform:translateY(-50%)scale(.94)}.eye-icon{width:18px;height:18px;display:inline-block;position:relative}.eye-icon:before{content:"";border:2px solid;border-radius:14px/10px;transition:all .16s;position:absolute;inset:4px 2px}.eye-icon:after{content:"";background:currentColor;border-radius:50%;width:5px;height:5px;transition:all .16s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.eye-icon.eye-off{opacity:.85}.eye-icon.eye-off:after{opacity:.6}.eye-icon.eye-off span{display:none}.eye-icon.eye-off{background:linear-gradient(135deg,#0000 45%,currentColor 46% 54%,#0000 55%)}.login-submit{justify-content:center;align-items:center;gap:8px;min-height:46px;font-weight:600;display:inline-flex}.inline-spinner{border:2px solid #ffffff73;border-top-color:#fff;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite spin}.reset-password-button{margin-top:10px}.login-feedback{border-radius:10px;align-items:center;gap:8px;margin:10px 0 0;padding:10px 12px;font-size:.95rem;display:flex}.login-feedback-error{color:#9f1239;background:#fff1f2;border:1px solid #fecdd3}.alert-dot{background:#ffe4e6;border-radius:999px;justify-content:center;align-items:center;width:18px;height:18px;font-size:.75rem;font-weight:700;display:inline-flex}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=640px){.login-card{border-radius:18px;padding:28px 18px}.login-header h1{font-size:1.25rem}.login-logo{width:145px}}.crm-list-card{border-radius:18px;padding:22px;box-shadow:0 12px 28px #0f172a0f}.crm-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;display:flex}.crm-search-input{flex:1;min-width:240px}.crm-toolbar-actions{align-items:center;gap:12px;display:flex}.crm-inactive-toggle{color:#64748b;align-items:center;gap:6px;font-size:.92rem;display:inline-flex}.table-sort-button{color:#334155;background:0 0;border:0;padding:0;font-weight:600}.crm-clients-table th{color:#475569;letter-spacing:.01em;background:#f8fafc;font-size:.86rem;font-weight:700}.crm-clients-table td{border-bottom:1px solid #e2e8f0}.crm-client-name{color:#0f172a;font-weight:600}.crm-muted-text{color:#64748b}.status-chip{align-items:center;gap:7px;font-size:.9rem;display:inline-flex}.status-dot{border-radius:999px;width:9px;height:9px;display:inline-block}.status-chip.active{color:#166534}.status-chip.active .status-dot{background:#22c55e}.status-chip.inactive{color:#991b1b}.status-chip.inactive .status-dot{background:#ef4444}.suivi-table th,.suivi-table td{vertical-align:middle;padding:8px}.suivi-table tbody tr{cursor:pointer}.suivi-row-urgent{background:#fef2f2}.suivi-row-important{background:#fff7ed}.suivi-row-normal{background:0 0}.suivi-icon-btn{min-width:32px;padding:4px 8px;line-height:1}.crm-detail-shell{background:#f3f4f6;padding:20px}.crm-detail-card{background:#fff;border-radius:14px;padding:18px}.crm-status-segmented{background:#f1f5f9;border-radius:999px;align-items:center;gap:4px;padding:4px;display:inline-flex}.crm-segment{color:#475569;background:0 0;border:0;border-radius:999px;padding:8px 12px;font-size:.9rem;font-weight:600;transition:background-color .16s,color .16s,transform .12s}img{max-width:100%;height:auto}@media (width<=768px){.app-shell{max-width:100%;padding:12px;overflow-x:hidden}.app-header{gap:10px}.header-left-zone,.header-user-block{width:100%}.header-user-block{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.header-user-text{word-break:break-word;margin:0}.main-nav{flex-wrap:wrap;width:100%}.nav-button{flex:none}.crm-list-card,.card,.sub-card{max-width:100%}.table-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.suivi-toolbar{flex-direction:column;align-items:stretch}.suivi-toolbar .crm-search-input{width:100%;min-width:0}.suivi-toolbar .crm-toolbar-actions{flex-direction:column;align-items:stretch;gap:8px;width:100%}.suivi-toolbar .crm-status-segmented{border-radius:12px;flex-wrap:wrap;width:100%}}.crm-segment:hover{background:#e2e8f0}.crm-segment:active{transform:scale(.98)}.detail-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.detail-actions{flex-wrap:wrap;gap:8px;display:flex}.icon-btn{color:#334155;background:#fff;border:1px solid #dbe3ef;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;transition:transform .12s,background-color .18s,color .18s;display:inline-flex}.icon-btn:hover{color:#1d4ed8;background:#eff6ff;transform:translateY(-1px)}.icon-btn.danger:hover{color:#b91c1c;background:#fef2f2}.detail-block h3{margin-top:0}.detail-block p{gap:2px;margin:8px 0;display:grid}.detail-block span{color:#64748b;font-size:.86rem}.detail-block strong{color:#0f172a;font-weight:600}@media print{.main-nav,.detail-actions,button{display:none!important}.crm-detail-shell,.crm-detail-card,.detail-block{box-shadow:none!important;border:0!important}}.detail-subtitle{color:#334155;font-size:1.2rem;font-weight:700}.icon-btn:hover{box-shadow:0 8px 14px #1d4ed829}.print-header{border-bottom:1px solid #e2e8f0;align-items:center;gap:12px;margin:6px 0 14px;padding-bottom:10px;display:none}.crm-toolbar-projects{flex-wrap:nowrap}@media (width<=1024px){.crm-toolbar-projects{flex-wrap:wrap}}.print-header img{width:90px;height:auto}@media print{.print-header{display:flex!important}.detail-subtitle{color:#111827!important}}.detail-link{color:#2563eb;text-decoration:none}.detail-link:hover{text-decoration:underline}.back-list-btn{color:#334155;background:#fff;border:1px solid #cbd5e1;margin-bottom:8px}.back-list-btn:hover{background:#f1f5f9}.role-badge{border-radius:999px;padding:3px 9px;font-size:.82rem;font-weight:600;display:inline-flex}.role-badge.admin{color:#5b21b6;background:#ede9fe}.role-badge.user{color:#475569;background:#f1f5f9}.brand-logo-wrap{background:#fff;border-radius:10px;padding:8px;box-shadow:0 2px 8px #0f172a14}.brand-logo{height:64px}.app-header{background:#fff;border-bottom:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex}.header-left-zone{flex-direction:column;gap:10px;display:flex}.main-nav{justify-content:flex-start}.nav-button{border-radius:999px}.header-user-block{flex-direction:column;justify-content:flex-start;align-items:flex-end;gap:8px;margin-left:auto;display:flex}.header-user-text{color:#64748b;margin:0;font-size:.92rem}.home-shell{gap:18px;display:grid}.home-hero{grid-template-columns:1.2fr 1fr;align-items:center;gap:20px;padding:28px;display:grid;box-shadow:0 10px 26px #0f172a0f}.home-hero h2{margin:0 0 8px;font-size:2rem}.home-hero p{color:#475569;margin:0 0 18px}.home-hero-image{border-radius:12px;justify-self:center;width:100%;max-width:400px;box-shadow:0 10px 24px #0f172a1f}.home-feature-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.home-feature-card{transition:transform .16s,box-shadow .16s}.home-feature-card:hover{transform:translateY(-2px);box-shadow:0 10px 20px #0f172a14}@media (width<=900px){.home-hero{grid-template-columns:1fr}}.legal-page{max-width:900px;margin:0 auto}.legal-card{border-radius:14px;padding:24px;box-shadow:0 10px 24px #0f172a0f}.legal-title{margin-top:12px}.legal-section{margin-top:18px}.crm-footer{text-align:center;color:#94a3b8;margin-top:10px;padding:8px 2px 2px;font-size:11px;line-height:1.25}.crm-footer-dev{margin:2px 0}.crm-footer-links{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.crm-footer-links .ghost{color:#64748b;background:0 0;border:0;padding:0;font-size:11px}body{color:#0f172a;background:linear-gradient(#f5f8fc 0%,#eef3f9 100%)}.card{border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 8px 24px #0f172a0f}.crm-list-card,.crm-detail-card{background:#fff;border-radius:20px}.detail-header h2{letter-spacing:-.01em;margin:0;font-size:1.45rem}.detail-subtitle,.section-intro{color:#64748b}.detail-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;display:grid}.detail-block{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:11px 12px;box-shadow:0 3px 10px #0f172a0a}.detail-block h3{color:#0f172a;margin-top:0;margin-bottom:10px}.detail-block p span{color:#64748b}.crm-toolbar{flex-wrap:wrap;justify-content:space-between;gap:12px;margin-bottom:14px;display:flex}.crm-search-input{background:#fbfdff;border-color:#d7e1ee;border-radius:12px;min-width:260px;max-width:480px}.crm-toolbar-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.crm-status-segmented{background:#f8fbff;border:1px solid #d7e1ee;border-radius:12px;padding:4px;display:inline-flex}.crm-segment{color:#334155;background:0 0;border:0;border-radius:9px;padding:6px 10px}.crm-segment.is-active{color:#fff;background:#1d4ed8}.crm-clients-table th{color:#334155;background:#f8fafc;font-weight:600}.status-chip{border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:.82rem;font-weight:600;display:inline-flex}.status-dot{background:currentColor;border-radius:50%;width:7px;height:7px}.status-active,.status-en-cours,.status-relance,.status-demande-envoyee,.status-devis-recu{color:#0f766e;background:#ecfeff;border-color:#99f6e4}.status-inactive,.status-perdu,.status-abandonne,.status-annule{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.status-gagne,.status-clos,.status-termine,.status-artisan-retenu,.status-travaux-termines{color:#166534;background:#ecfdf5;border-color:#bbf7d0}.status-a-traiter,.status-nouveau-contact,.status-demande-a-envoyer{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.status-en-attente-client,.status-devis-en-cours,.status-planifie{color:#b45309;background:#fffbeb;border-color:#fde68a}.icon-btn{border-radius:10px;place-items:center;width:36px;height:36px;padding:0;display:inline-grid}@media (width<=860px){.app-shell{padding:16px}.detail-grid{grid-template-columns:1fr}.crm-search-input{min-width:100%;max-width:100%}}:root{--crm-bg:#f1f5ff;--crm-card:#fff;--crm-border:#dbe5f2;--crm-shadow:0 18px 38px #0f172a14}.app-shell{background:radial-gradient(1100px 520px at 10% -20%, #3b82f629, transparent 58%), radial-gradient(980px 500px at 95% 0%, #6366f124, transparent 60%), var(--crm-bg);border-radius:22px;padding:22px}.crm-detail-shell .crm-detail-card{border:1px solid var(--crm-border);box-shadow:var(--crm-shadow);border-radius:24px;overflow:hidden}.detail-header{border-bottom:1px solid #e6edf7;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;padding:6px 4px 16px;display:flex}.detail-header h2{font-size:1.72rem;font-weight:700}.project-identity-strip{flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0 8px;display:flex}.project-identity-pill{color:#0f172a;background:linear-gradient(135deg,#fff 0%,#f7fbff 100%);border:1px solid #d9e5f6;border-radius:999px;align-items:center;gap:8px;min-height:38px;padding:8px 13px;display:inline-flex;box-shadow:0 10px 22px #0f172a14}.project-code-pill{color:#fff;background:linear-gradient(135deg,#1d4ed8 0%,#2563eb 54%,#0ea5e9 100%);border-color:#93c5fd;box-shadow:0 14px 28px #2563eb3d}.project-client-pill{max-width:min(100%,460px)}.project-identity-label{letter-spacing:.08em;text-transform:uppercase;opacity:.72;font-size:.72rem;font-weight:800}.project-identity-pill strong{text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:800;overflow:hidden}.project-code-pill strong{letter-spacing:.02em;font-size:1.12rem}.detail-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.crm-detail-card .detail-block,.crm-detail-card .crm-section{background:linear-gradient(#fff 0%,#fbfdff 100%);border:1px solid #dce6f3;border-radius:16px;padding:16px;box-shadow:0 10px 22px #1e293b0f}.crm-detail-card .detail-block h3{margin-bottom:12px;font-size:1.02rem;font-weight:700}.crm-detail-card .detail-block p{gap:4px;margin:0 0 10px;display:grid}.crm-list-card{border:1px solid var(--crm-border);border-radius:20px;box-shadow:0 14px 30px #1e293b12}.crm-toolbar{background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #dbe7f4;border-radius:14px;padding:10px}.crm-search-input{border-radius:12px;padding-left:14px;box-shadow:inset 0 1px #ffffffb3;min-height:42px!important}.crm-status-segmented{background:#edf2ff;border-color:#cad7ff;border-radius:12px;padding:3px}.crm-segment{padding:7px 12px;font-weight:600}.crm-segment.is-active{box-shadow:0 6px 12px #1d4ed847}.crm-clients-table{border-collapse:separate;border-spacing:0}.crm-clients-table thead th{z-index:2;background:#f2f6fd;border-bottom:1px solid #dbe5f2;position:sticky;top:0}.crm-clients-table tbody tr:nth-child(2n){background:#fbfdff}.crm-clients-table tbody tr:hover{background:#edf4ff}.crm-clients-table tbody tr{transition:background-color .16s,box-shadow .18s,transform .14s}.crm-clients-table tbody tr:hover{box-shadow:inset 0 0 0 1px #3b82f61f}.crm-clients-table tbody td[colspan]{color:#64748b;text-align:center;background:linear-gradient(#fbfdff 0%,#f8fbff 100%)}.crm-clients-table td,.crm-clients-table th{padding:13px 12px}.status-chip{padding:5px 12px;font-weight:700;box-shadow:inset 0 -1px #ffffff80}.icon-btn,.crm-action-btn{color:#1e3a8a;background:linear-gradient(#fff 0%,#f4f8ff 100%);border:1px solid #d4e0f0;width:38px;height:38px;box-shadow:0 6px 14px #2563eb1f}.icon-btn:hover,.crm-action-btn:hover{background:#eaf1ff;transform:translateY(-1px);box-shadow:0 10px 18px #2563eb3d}@media (width<=900px){.detail-header{flex-direction:column}.detail-actions{justify-content:flex-start}.crm-toolbar{padding:8px}}@media (width<=640px){.project-identity-strip{flex-direction:column;align-items:stretch;gap:8px}.project-identity-pill{border-radius:16px;justify-content:space-between;width:100%}.project-client-pill{max-width:100%}}.kpi-clickable{cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s}.kpi-clickable:hover{border-color:#93c5fd;transform:translateY(-2px);box-shadow:0 14px 26px #2563eb2e}.kpi-active{border-color:#2563eb!important;box-shadow:0 0 0 3px #2563eb2e,0 14px 30px #2563eb38!important}.dashboard-detail{z-index:1;display:block;position:relative;overflow:visible}.dashboard-detail-header{margin-bottom:10px}.home-two-cols{grid-template-columns:1fr 1fr}.home-shell,.home-hero,.home-hero>*,.card,.crm-dashboard{min-width:0}@media (width<=768px){html,body,#root{width:100%;max-width:100%;overflow-x:hidden}.app-shell{border-radius:0;width:100%;max-width:100%;margin:0;padding:8px;overflow-x:hidden}.app-header,.card,.home-hero{width:100%;max-width:100%;overflow:hidden}.app-header{border-radius:18px;flex-direction:column;align-items:stretch;padding:12px}.brand-header{text-align:center;flex-direction:column;align-items:center}.brand-logo{width:auto;max-width:120px;height:72px}.brand-header h1{margin:0;font-size:1.75rem;line-height:1.1}.header-subtitle{margin:6px 0 0;font-size:1rem}.main-nav{grid-template-columns:1fr;gap:10px;width:100%;display:grid}.nav-button,.nav-button-logout{width:100%;min-width:0;min-height:44px}.header-user-block{text-align:center;align-items:stretch;width:100%;margin-left:0}.home-hero{padding:16px;grid-template-columns:1fr!important}.home-hero h2{overflow-wrap:anywhere;max-width:100%;font-size:1.55rem;line-height:1.15}.home-hero p{overflow-wrap:anywhere;max-width:100%;font-size:.98rem}.home-hero .inline-actions{grid-template-columns:1fr;width:100%;display:grid}.home-hero .inline-actions button{width:100%;min-width:0}.home-hero-image{object-fit:cover;width:100%;max-width:100%;height:auto}.home-feature-grid,.home-two-cols,.crm-kpi-grid{grid-template-columns:1fr!important}.dashboard-detail-header{flex-direction:column;align-items:stretch!important}.dashboard-detail-header button{width:100%}.table-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.mobile-menu-toggle{color:#fff;background:#1d4ed8;border:1px solid #1d4ed8;border-radius:999px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;font-weight:600;display:flex!important}.main-nav{display:none!important}.main-nav.is-open{grid-template-columns:1fr;gap:10px;width:100%;margin-top:10px;display:grid!important}.admin-tabs{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap;justify-content:flex-start;gap:8px;width:100%;max-width:100%;padding:4px 12px;display:flex;overflow:auto hidden}.admin-tabs::-webkit-scrollbar{display:none}.admin-tab{white-space:nowrap;flex:none}}button.crm-link-button{color:#2563eb!important;font-size:inherit!important;font-family:inherit!important;font-weight:600!important;line-height:inherit!important;cursor:pointer!important;text-align:left!important;box-shadow:none!important;background:0 0!important;border:none!important;border-radius:0!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;display:inline!important}button.crm-link-button:hover{color:#1d4ed8!important;text-decoration:underline!important}:root{--crm-radius-md:12px;--crm-radius-lg:18px;--crm-shadow-soft:0 12px 30px #0f172a14}button,[role=button],a,.crm-link-button,.nav-button,.icon-btn,.ghost,.crm-segment,.back-list-btn,.crm-clients-table tbody tr{cursor:pointer}.nav-button,button.ghost,.back-list-btn,.crm-link-button{transition:background-color .16s,color .16s,border-color .16s,box-shadow .18s}.nav-button:hover,button.ghost:hover,.back-list-btn:hover{box-shadow:0 8px 18px #2563eb1f}.back-list-btn{border-radius:999px;padding:9px 14px;font-weight:600}.crm-link-button:hover{text-underline-offset:2px;text-decoration:underline}.crm-list-card,.crm-detail-card,.card{border-radius:var(--crm-radius-lg);box-shadow:var(--crm-shadow-soft)}.agenda-popup-overlay{z-index:70;background:#0f172a42;justify-content:center;align-items:center;padding:18px;animation:.18s fadeInOverlay;display:flex;position:fixed;inset:0}.agenda-popup-card{background:#fff;border-radius:24px;width:min(700px,100%);max-height:min(88vh,900px);padding:24px;animation:.22s popupEnter;overflow:auto;box-shadow:0 28px 70px #0f172a47}.agenda-popup-actions{border-bottom:1px solid #e2e8f0;justify-content:flex-end;gap:8px;margin-bottom:12px;padding-bottom:10px;display:flex}.agenda-popup-grid{grid-template-columns:24px 1fr;align-items:start;gap:14px 16px;display:grid}.agenda-popup-marker{background:#2563eb;border-radius:4px;width:14px;height:14px;margin-top:12px}.agenda-popup-title{margin:0;font-size:1.6rem;line-height:1.2}.agenda-popup-date{color:#64748b;margin:6px 0 0;font-size:.98rem}.agenda-popup-badges{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.agenda-popup-section{color:#0f172a;gap:8px;display:grid}.agenda-popup-icon{color:#334155;margin-top:2px}.agenda-badge-type{border-radius:999px!important}.agenda-popup-actions .ghost,.agenda-popup-actions .icon-btn{transition:transform .14s,box-shadow .16s,background-color .14s}.agenda-popup-actions .ghost:hover,.agenda-popup-actions .icon-btn:hover{transform:translateY(-1px)}@keyframes fadeInOverlay{0%{opacity:0}to{opacity:1}}@keyframes popupEnter{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=768px){.agenda-popup-card{border-radius:18px;max-height:88vh;padding:16px;overflow-y:auto}.agenda-popup-grid{grid-template-columns:20px 1fr;gap:12px}.agenda-popup-title{font-size:1.3rem}.crm-toolbar-actions button,.inline-actions button,.detail-actions button{width:100%}}.agenda-day-grid,.agenda-month-grid{gap:12px;display:grid}.agenda-day-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:14px}.agenda-month-grid{grid-template-columns:repeat(7,minmax(120px,1fr))}.agenda-week-grid{grid-template-columns:repeat(7,minmax(210px,1fr));gap:8px;margin-top:14px;padding-bottom:4px;display:grid;overflow-x:auto}.agenda-day-column{min-height:190px;padding:10px}.agenda-day-column.is-drop-target{outline:2px dashed #bfdbfe}.agenda-day-title{margin:0 0 4px;font-size:.96rem}.agenda-day-count{color:#64748b;margin:0 0 8px;font-size:.8rem}.agenda-day-events{gap:5px;display:grid}.agenda-day-empty{color:#94a3b8;margin:0;font-size:.82rem}.agenda-event-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #dbeafe;border-left:4px solid #93c5fd;border-radius:10px;gap:4px;width:100%;padding:8px 9px;display:grid;box-shadow:0 6px 14px #0f172a0f}.agenda-event-topline{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.agenda-event-type-badge{color:#1e40af;background:#eff6ff;border-radius:999px;align-items:center;padding:2px 7px;font-size:.72rem;font-weight:700;display:inline-flex}.agenda-event-secondary-badge{color:#6d28d9;background:#f5f3ff;border-radius:999px;padding:2px 6px;font-size:.68rem}.agenda-event-title{color:#0f172a;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:700;line-height:1.2;display:-webkit-box;overflow:hidden}.agenda-event-time,.agenda-event-meta{color:#475569;font-size:.78rem}.agenda-event-bottomline{flex-wrap:wrap;align-items:center;gap:6px;margin-top:2px;display:flex}.agenda-event-status{border-radius:999px;padding:2px 7px;font-size:.68rem;font-weight:700}.agenda-event-status.is-success{color:#047857;background:#ecfdf5}.agenda-event-status.is-danger{color:#b91c1c;background:#fef2f2}.agenda-event-status.is-warning{color:#c2410c;background:#fff7ed}.agenda-event-status.is-neutral{color:#1d4ed8;background:#eff6ff}.agenda-event-conflict{color:#991b1b;background:#fee2e2;border-radius:999px;padding:2px 7px;font-size:.68rem;font-weight:700}.agenda-event-type-relance{border-color:#fecdd3 #fecdd3 #fecdd3 #fb7185}.agenda-event-type-rdv_commercial{border-color:#bfdbfe #bfdbfe #bfdbfe #3b82f6}.agenda-event-type-visite_chantier{border-color:#bbf7d0 #bbf7d0 #bbf7d0 #22c55e}.agenda-event-type-intervention_artisan{border-color:#fed7aa #fed7aa #fed7aa #f97316}.agenda-event-type-sav{border-color:#fde68a #fde68a #fde68a #f59e0b}.agenda-event-type-autre,.agenda-event-type-reunion_artisan{border-color:#cbd5e1 #cbd5e1 #cbd5e1 #64748b}.agenda-month-cell{min-height:130px;padding:10px}.agenda-month-cell h4{color:#475569;margin:0 0 8px;font-size:.86rem}.agenda-month-events{gap:6px;display:grid}.agenda-month-event{color:#1e3a8a;text-align:left;background:#f8fbff;border:1px solid #dbeafe;border-radius:10px;padding:6px 8px;transition:background-color .15s,box-shadow .17s,transform .13s}.agenda-month-event:hover{background:#eff6ff;transform:translateY(-1px);box-shadow:0 8px 16px #2563eb24}@media (width<=900px){.agenda-week-grid{grid-template-columns:repeat(7,minmax(195px,1fr))}.agenda-month-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.agenda-summary-shell{margin-bottom:12px}.agenda-summary-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px;display:grid}.agenda-summary-kpi-card{background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #e2e8f0;border-radius:12px;gap:2px;padding:10px 12px;display:grid}.agenda-summary-kpi-card.is-alert{background:#fff8f8;border-color:#fecaca}.agenda-summary-kpi-label{color:#64748b;font-size:.84rem}.agenda-summary-kpi-value{color:#0f172a;font-size:1.4rem;line-height:1.1}.agenda-summary-tabs{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.agenda-summary-tab{color:#334155;background:#fff;border:1px solid #dbe3ee;border-radius:999px;padding:6px 12px;transition:all .14s}.agenda-summary-tab:hover{color:#1e3a8a;background:#f8fbff;border-color:#bfdbfe}.agenda-summary-tab.is-active{color:#1d4ed8;background:#eff6ff;border-color:#60a5fa;box-shadow:inset 0 0 0 1px #93c5fd}.accueil-action-card{padding:14px}.accueil-action-card h3{margin-bottom:8px}.accueil-action-table td,.accueil-action-table th{padding-top:8px;padding-bottom:8px}.agenda-summary-detail-card{background:#fcfdff;border:1px solid #e5edf5;border-radius:12px;padding:12px}.agenda-alerts-list,.agenda-artisans-list,.agenda-projects-list,.agenda-project-events,.agenda-artisan-events{gap:8px;display:grid}.agenda-alert-row{color:#7f1d1d;text-align:left;background:snow;border:1px solid #fee2e2}.agenda-alert-row-rich{border-radius:12px;gap:8px;padding:10px 12px;transition:border-color .12s,box-shadow .12s,transform .12s;display:grid}.agenda-alert-row-rich:hover{border-color:#fca5a5;transform:translateY(-1px);box-shadow:0 6px 16px #dc26261f}.agenda-alert-row-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.agenda-alert-row-meta{flex-wrap:wrap;align-items:center;gap:10px;font-size:.84rem;display:flex}.agenda-alert-row-events{flex-wrap:wrap;gap:6px;display:flex}.agenda-alert-event-chip{color:#991b1b;background:#fff;border:1px solid #fecaca;border-radius:999px;align-items:center;padding:3px 8px;font-size:.78rem;display:inline-flex}.agenda-alert-event-chip.more{color:#7f1d1d;border-style:dashed}.agenda-conflict-events-list{gap:10px;margin-top:10px;display:grid}.agenda-conflict-event-card{background:#fbfdff;border:1px solid #e5edf5;border-radius:12px;gap:6px;padding:10px;display:grid}.agenda-conflict-event-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.agenda-artisan-row,.agenda-project-card{background:#fff;border:1px solid #e5edf5;border-radius:12px;padding:10px}.agenda-artisan-header{color:inherit;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;padding:0;display:flex}.agenda-artisan-event{background:#f8fbff;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:8px;display:flex}.agenda-project-progress{background:#e6effb;border-radius:999px;height:7px;margin:8px 0 10px;overflow:hidden}.agenda-project-progress>div{background:#2563eb;height:100%}.agenda-project-event{color:#0f172a;text-align:left;background:#f8fbff;border:1px solid #e5edf5}@media (width<=960px){.agenda-summary-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.agenda-summary-kpi-grid{grid-template-columns:1fr}.agenda-artisan-header,.agenda-artisan-event,.agenda-alert-row-head{flex-direction:column;align-items:flex-start}}.projets-sortable-header{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .16s,color .16s}.projets-sortable-header:hover{background:#eaf2ff!important}.projets-sortable-header>span:first-child{margin-right:6px}.projets-sortable-header .sort-indicator{color:#94a3b8;font-size:.82rem;font-weight:700}.projets-sortable-header.is-sorted{color:#1d4ed8!important;background:#e8f0ff!important}.projets-sortable-header.is-sorted .sort-indicator{color:#1d4ed8}.crm-pagination{color:#475569;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-top:12px;font-size:.84rem;display:flex}.crm-pagination-count,.crm-pagination-size,.crm-pagination-nav{background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);border:1px solid #dbe6f3;border-radius:999px;align-items:center;gap:8px;min-height:38px;display:inline-flex;box-shadow:0 8px 18px #0f172a0f}.crm-pagination-count{color:#0f172a;padding:8px 12px;font-weight:700}.crm-pagination-size{padding:5px 6px 5px 12px;font-weight:700}.crm-pagination-size select{background-color:#fff;border-color:#c8d7eb;border-radius:999px;width:auto;min-width:76px;min-height:28px;padding:4px 28px 4px 10px;font-weight:700}.crm-pagination-nav{padding:4px}.crm-pagination-nav .ghost,.crm-pagination-page{min-height:30px;box-shadow:none;border-radius:999px;padding:5px 10px}.crm-pagination-pages,.crm-pagination-page-slot{align-items:center;gap:4px;display:inline-flex}.crm-pagination-page{color:#334155;background:0 0;border:1px solid #0000;font-weight:800}.crm-pagination-page.is-active{color:#fff;background:linear-gradient(135deg,#2563eb 0%,#0ea5e9 100%);border-color:#93c5fd}.crm-pagination-ellipsis{color:#94a3b8;padding:0 2px}@media (width<=767px){.crm-pagination{justify-content:stretch}.crm-pagination-count,.crm-pagination-size,.crm-pagination-nav{border-radius:16px;justify-content:space-between;width:100%}.crm-pagination-pages{max-width:42vw;padding:2px 0;overflow-x:auto}}.scroll-to-top-button{right:max(18px, env(safe-area-inset-right));bottom:max(22px, env(safe-area-inset-bottom));z-index:60;color:#1d4ed8;-webkit-backdrop-filter:blur(14px);opacity:0;visibility:hidden;pointer-events:none;background:#ffffffd1;border:1px solid #cbd5e1b8;border-radius:999px;justify-content:center;align-items:center;width:46px;height:46px;transition:opacity .18s,transform .18s,visibility .18s,border-color .18s,box-shadow .18s,background-color .18s;display:inline-flex;position:fixed;transform:translateY(12px)scale(.94);box-shadow:0 18px 42px #0f172a29}.scroll-to-top-button.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)scale(1)}.scroll-to-top-button span{font-size:1.35rem;font-weight:900;line-height:1;transform:translateY(-1px)}.scroll-to-top-button:hover,.scroll-to-top-button:focus-visible{color:#0f172a;background:#fffffff5;border-color:#93c5fd;transform:translateY(-2px)scale(1.02);box-shadow:0 22px 52px #2563eb38}.scroll-to-top-button:focus-visible{outline-offset:3px;outline:3px solid #2563eb47}@media (width<=768px){.scroll-to-top-button{right:max(14px, env(safe-area-inset-right));bottom:max(16px, env(safe-area-inset-bottom));width:42px;height:42px}}@media (prefers-reduced-motion:reduce){.scroll-to-top-button{transition:none}}.admin-documents-settings{background:linear-gradient(#fff 0%,#f8fbff 100%);gap:16px;display:grid}.admin-documents-settings-header{align-items:flex-start;gap:12px}.admin-documents-settings-header h3,.admin-documents-section h4{margin:0 0 6px}.admin-documents-settings-note{margin:0!important}.admin-documents-settings-grid,.admin-documents-visibility-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.admin-documents-setting-field,.admin-documents-section,.admin-documents-visibility-card{background:#fff;border:1px solid #dbe7f4;border-radius:14px;padding:12px}.admin-documents-setting-field{gap:8px;font-weight:700;display:grid}.admin-documents-chip-list,.admin-documents-type-grid{flex-wrap:wrap;gap:8px;display:flex}.admin-documents-role-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;display:grid}.admin-documents-role-option{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #d7e1ee;border-radius:12px;align-items:center;gap:8px;min-height:40px;padding:8px 10px;font-weight:800;transition:background .16s,border-color .16s,box-shadow .16s;display:flex}.admin-documents-role-option.is-active{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.admin-documents-role-option.is-locked{cursor:not-allowed;opacity:.82}.admin-documents-role-option input{flex:none;width:16px;height:16px;margin:0}.admin-documents-type-badge{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #d7e1ee;border-radius:999px;align-items:center;gap:8px;padding:8px 12px;font-weight:800;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;display:inline-flex;min-height:42px!important}.admin-documents-type-badge:hover{background:#eff6ff;border-color:#93c5fd;transform:translateY(-1px)}.admin-documents-type-badge.is-active{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe;box-shadow:inset 0 0 0 1px #2563eb14}.admin-documents-type-badge input{flex:none;width:16px;height:16px;margin:0}.admin-documents-type-badge small{color:#64748b;font-weight:700}.admin-documents-category-row,.admin-documents-category-add{align-items:center;gap:8px;display:flex}.admin-documents-category-row button,.admin-documents-category-add button{flex:none}.admin-documents-category-add{margin-top:10px}.admin-documents-visibility-card{gap:8px;display:grid}.admin-documents-visibility-card strong{color:#0f172a}.admin-documents-visibility-card small{color:#64748b;font-weight:700}.admin-documents-settings-actions{justify-content:flex-end}@media (width<=760px){.admin-documents-settings-header,.admin-documents-category-row,.admin-documents-category-add,.admin-documents-settings-actions{flex-direction:column;align-items:stretch}.admin-documents-category-row button,.admin-documents-category-add button,.admin-documents-settings-actions button{width:100%}}.admin-settings-actions-cell{min-width:180px}.admin-settings-actions{justify-content:flex-start;align-items:center;gap:8px;min-width:160px;visibility:visible!important;opacity:1!important;display:flex!important}.admin-settings-actions button{white-space:nowrap;justify-content:center;align-items:center;min-height:36px;visibility:visible!important;opacity:1!important;display:inline-flex!important}.admin-settings-table textarea{resize:vertical;width:100%;min-width:220px}.documents-trash-page{gap:18px;display:grid}.storage-stats-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;display:grid}.stat-card{border-left:4px solid #0ea5e9;gap:6px;display:grid}.stat-card span{color:#64748b;text-transform:uppercase;font-size:.86rem;font-weight:700}.stat-card strong{color:#0f172a;font-size:1.9rem;line-height:1}.stat-card small{color:#64748b}.stat-card.warning{border-left-color:#f59e0b}.stat-card.danger{border-left-color:#dc2626}.trash-admin-card{gap:14px;display:grid}.trash-section-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.retention-controls,.trash-filters-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;gap:12px;display:grid}.retention-controls button.active{color:#fff;background:#0f766e}.checkbox-row{align-items:center;gap:8px;min-height:40px;display:flex}.table-scroll{overflow-x:auto}.trash-table{min-width:1500px}.trash-thumb{object-fit:cover;border-radius:10px;width:58px;height:46px;box-shadow:0 4px 12px #0f172a29}.badge.neutral{color:#64748b;background:#f1f5f9}.badge.warning{color:#92400e;background:#fef3c7}.badge.danger{color:#991b1b;background:#fee2e2}button.danger,.icon-btn.danger{color:#fff;background:#dc2626;border-color:#dc2626}button.danger:hover,.icon-btn.danger:hover{background:#b91c1c}.largest-files-list{gap:8px;margin:0;padding-left:22px;display:grid}.largest-files-list li{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.largest-files-list strong{white-space:nowrap}.admin-storage-panel{gap:14px}.compact-page-header h3{margin:0}.storage-dashboard{gap:14px;display:grid}.storage-usage-bar{background:#e2e8f0;border-radius:999px;height:12px;overflow:hidden}.storage-usage-bar span{background:linear-gradient(90deg,#0f766e,#14b8a6);min-width:2px;height:100%;display:block}.compact-stats-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.stat-card.mini{padding:12px}.stat-card.mini strong{font-size:1.25rem}.compact-controls{grid-template-columns:repeat(auto-fit,minmax(130px,max-content));align-items:center}.trash-search-row{grid-template-columns:minmax(240px,1fr) auto;align-items:center;gap:10px;display:grid}.quick-filter-pills{flex-wrap:wrap;gap:8px;display:flex}.quick-filter-pills .crm-segment{border-radius:999px}.advanced-filters-grid{border-top:1px solid #e2e8f0;padding-top:12px}.bulk-actions-bar{z-index:15;background:#ecfeff;border:1px solid #67e8f9;border-radius:14px;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;padding:10px 12px;display:flex;position:sticky;top:8px;box-shadow:0 10px 22px #0f172a14}.bulk-actions-bar.inline{box-shadow:none;background:#f8fafc;position:static}.pagination-compact-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.pagination-compact-controls label{flex-direction:row;align-items:center;gap:6px;margin:0;display:inline-flex}.pagination-compact-controls select{min-width:74px}.compact-table-scroll{overflow-x:auto}.compact-trash-table{table-layout:fixed;min-width:1080px}.compact-trash-table th:first-child,.compact-trash-table td:first-child{width:42px}.compact-trash-table th:nth-child(2),.compact-trash-table td:nth-child(2){width:86px}.compact-trash-table th:nth-child(3),.compact-trash-table td:nth-child(3){width:240px}.compact-trash-table th:nth-child(4),.compact-trash-table td:nth-child(4){width:200px}.compact-trash-table th:nth-child(5),.compact-trash-table td:nth-child(5){width:90px}.compact-trash-table th:nth-child(6),.compact-trash-table td:nth-child(6){width:88px}.compact-trash-table th:nth-child(7),.compact-trash-table td:nth-child(7){width:130px}.compact-trash-table th:nth-child(8),.compact-trash-table td:nth-child(8){width:115px}.compact-trash-table th:nth-child(9),.compact-trash-table td:nth-child(9){width:74px}.compact-trash-table th:nth-child(10),.compact-trash-table td:nth-child(10){width:210px}.ellipsis-cell{text-overflow:ellipsis;white-space:nowrap;max-width:240px;overflow:hidden}.ellipsis-cell small,.ellipsis-cell strong,.ellipsis-cell span,.ellipsis-cell code{text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap;max-width:100%;display:inline-block;overflow:hidden}.ellipsis-cell details{white-space:normal;margin-top:4px}.ellipsis-cell summary{color:#0f766e;cursor:pointer;font-size:.78rem;font-weight:700}.trash-row-details{color:#475569;gap:3px;margin-top:5px;font-size:.78rem;display:grid}.thumb-button{cursor:pointer;background:0 0;border:0;padding:0}.compact-action{padding:5px 8px;font-size:.78rem}.compact-row-actions{gap:5px}.compact-row-actions button{padding:6px 8px;font-size:.78rem}.compact-orphans-table{table-layout:fixed;min-width:900px}.compact-orphans-table th:first-child,.compact-orphans-table td:first-child{width:42px}.compact-orphans-table th:nth-child(2),.compact-orphans-table td:nth-child(2){width:380px}.compact-orphans-table th:nth-child(7),.compact-orphans-table td:nth-child(7){width:120px}.orphan-pagination{margin-top:10px}.document-preview-modal{gap:12px;width:100%;max-width:min(980px,94vw);max-height:88vh;display:grid;overflow:auto}.document-preview-image{object-fit:contain;border-radius:12px;max-width:100%;max-height:72vh}.document-preview-frame{border:1px solid #e2e8f0;border-radius:12px;width:100%;height:72vh}@media (width<=760px){.trash-search-row{grid-template-columns:1fr}.trash-section-header{flex-direction:column;align-items:stretch}.pagination-compact-controls{justify-content:flex-start}}.documents-trash-page .crm-pagination{justify-content:center;margin-top:16px}.document-selection-toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.document-selection-toolbar span{color:#475569;font-weight:800}.purge-retention-controls{flex-wrap:wrap;align-items:stretch;display:flex}.purge-retention-controls button,.purge-retention-controls input{min-height:40px}.purge-retention-controls label{justify-content:flex-end;min-width:180px}.icon-row-actions{flex-wrap:nowrap;align-items:center}.icon-row-actions button{white-space:nowrap;min-height:32px}.compact-activity-table{table-layout:fixed;min-width:980px}.compact-activity-table th:first-child,.compact-activity-table td:first-child{width:145px}.compact-activity-table th:nth-child(2),.compact-activity-table td:nth-child(2){width:170px}.compact-activity-table th:nth-child(3),.compact-activity-table td:nth-child(3){width:270px}.compact-activity-table th:nth-child(4),.compact-activity-table td:nth-child(4){width:180px}.activity-filters select{min-height:42px!important}.quote-consultation-toolbar{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;margin:10px 0 12px;padding:10px 12px;display:flex}.quote-lot-cell{flex-direction:column;align-items:flex-start;gap:6px;min-width:150px;display:flex}.quote-lot-date{color:#0f172a;font-weight:700}.quote-action-btn{border-radius:999px;min-height:30px;padding:5px 9px;font-size:12px}.quote-email-modal{width:min(980px,100vw - 32px);max-height:calc(100vh - 56px);overflow:auto}.quote-history-overlay{z-index:12000}.quote-history-modal{z-index:12001;position:relative}.quote-email-form{gap:12px;display:grid}.quote-email-form label{color:#0f172a;gap:6px;font-weight:700;display:grid}.quote-email-form input,.quote-email-form textarea{width:100%}@media (width<=760px){.quote-consultation-toolbar{flex-direction:column;align-items:flex-start}}.projets-sort-strip{color:#64748b;background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #dbe7f4;border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 10px;padding:8px 10px;font-size:.82rem;display:flex}.projets-sort-strip>span:first-child{text-transform:uppercase;letter-spacing:.04em;margin-right:2px;font-weight:800}.projets-sort-strip .sort-header,.projets-sort-strip button,.projets-sort-strip .projets-sortable-header{color:#334155;background:#fff;border:1px solid #d7e1ee;border-radius:999px;min-height:30px;padding:5px 9px;font-size:.82rem;font-weight:800}.projets-compact-list{gap:8px;width:100%;min-width:0;display:grid}.projets-empty{background:#f8fbff;border:1px dashed #cbd5e1;border-radius:14px;margin:10px 0 0;padding:11px 12px}.projet-compact-card{cursor:pointer;background:linear-gradient(#fff 0%,#f9fcff 100%);border:1px solid #dbe7f4;border-radius:14px;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:12px;width:100%;min-width:0;padding:10px 12px 10px 16px;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s;display:grid;position:relative;overflow:hidden;box-shadow:0 8px 18px #0f172a0a}.projet-compact-card:before{content:"";background:#2563eb;width:5px;position:absolute;inset:0 auto 0 0}.projet-compact-card.attention-blocked:before,.projet-compact-card.attention-late:before{background:#dc2626}.projet-compact-card.attention-todo:before{background:#f97316}.projet-compact-card.attention-follow:before{background:#2563eb}.projet-compact-card.attention-ok:before{background:#16a34a}.projet-compact-card.attention-closed:before{background:#94a3b8}.projet-compact-card:hover,.projet-compact-card:focus-visible{background:linear-gradient(#fff 0%,#f3f8ff 100%);border-color:#b7cbea;outline:none;transform:translateY(-2px);box-shadow:0 12px 26px #0f172a14}.projet-compact-card.is-selected{border-color:#93c5fd;box-shadow:0 0 0 2px #3b82f624,0 12px 26px #0f172a14}.projet-compact-main,.projet-compact-side{min-width:0}.projet-compact-title-row{align-items:center;gap:8px;min-width:0;display:flex}.projet-compact-title{color:#0f172a;align-items:center;gap:6px;min-width:0;font-size:.98rem;line-height:1.25;display:inline-flex}.projet-compact-title span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.projet-status-chip,.projet-attention-badge{flex:none}.projet-attention-badge{letter-spacing:.04em;white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;min-height:24px;padding:3px 9px;font-size:.72rem;font-weight:900;display:inline-flex}.projet-attention-badge.attention-blocked,.projet-attention-badge.attention-late{color:#991b1b;background:#fee2e2;border-color:#fecaca}.projet-attention-badge.attention-todo{color:#9a3412;background:#ffedd5;border-color:#fed7aa}.projet-attention-badge.attention-follow{color:#1e40af;background:#dbeafe;border-color:#bfdbfe}.projet-attention-badge.attention-ok{color:#166534;background:#dcfce7;border-color:#bbf7d0}.projet-attention-badge.attention-closed{color:#475569;background:#f1f5f9;border-color:#e2e8f0}.projet-compact-meta,.projet-compact-progress{color:#475569;text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:.87rem;line-height:1.25;overflow:hidden}.projet-compact-progress{color:#1f2937;font-size:.84rem;font-weight:800}.projet-compact-side{align-content:start;justify-items:end;gap:5px;display:grid}.projet-compact-actions{flex-wrap:wrap;justify-content:flex-end;gap:5px;max-width:100%;display:flex}.projet-action-btn{color:#1e3a8a;cursor:pointer;background:linear-gradient(#fff 0%,#f5f8ff 100%);border:1px solid #d7e1ee;border-radius:10px;min-height:31px;padding:6px 9px;font-size:.78rem;font-weight:900;transition:transform .16s,border-color .16s,background .16s,color .16s,box-shadow .16s;box-shadow:0 6px 14px #2563eb14}.projet-action-btn:hover,.projet-action-btn:focus-visible{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd;outline:none;transform:translateY(-1px);box-shadow:0 9px 18px #2563eb29}.projet-action-more{width:34px;padding-left:0;padding-right:0}.projet-compact-next-actions{color:#475569;text-align:right;max-width:100%;font-size:.8rem}.projet-compact-next-actions p{text-overflow:ellipsis;white-space:nowrap;margin:1px 0;overflow:hidden}.projet-compact-next-actions span{color:#64748b;font-weight:800}@media (width<=860px){.projet-compact-card{grid-template-columns:1fr;gap:8px;padding:10px 10px 10px 15px}.projet-compact-title-row{flex-wrap:wrap}.projet-compact-title{flex-basis:100%}.projet-compact-progress{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.projet-compact-side{justify-items:stretch}.projet-compact-actions{order:2;justify-content:flex-start}.projet-compact-next-actions{text-align:left;order:1}}@media (width<=560px){.projets-sort-strip{align-items:flex-start}.projets-sort-strip>span:first-child{flex-basis:100%}.projet-compact-card{border-radius:13px}.projet-compact-meta{white-space:normal}.projet-compact-actions .projet-action-btn:nth-child(n+5){display:inline-flex}}.projets-kpi-bar{scrollbar-width:thin;gap:8px;margin:10px 0 12px;padding:3px 1px 5px;display:flex;overflow-x:auto}.projets-kpi-card,.projets-kpi-reset{color:#334155;cursor:pointer;background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #dbe7f4;border-radius:13px;flex:none;grid-template-columns:auto auto;align-items:center;gap:8px;min-height:40px;padding:7px 10px;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s;display:inline-grid;box-shadow:0 8px 18px #0f172a0a}.projets-kpi-card span{color:#64748b;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap;font-size:.75rem;font-weight:900}.projets-kpi-card strong{color:#0f172a;font-size:1.08rem;line-height:1}.projets-kpi-card:hover,.projets-kpi-card:focus-visible,.projets-kpi-reset:hover,.projets-kpi-reset:focus-visible{background:#eff6ff;border-color:#93c5fd;outline:none;transform:translateY(-1px);box-shadow:0 10px 22px #2563eb1f}.projets-kpi-card.is-active,.projets-kpi-reset.is-active{background:#eff6ff;border-color:#2563eb;outline:none;transform:none;box-shadow:inset 0 0 0 1px #2563eb38,0 8px 18px #2563eb1a}.projets-kpi-card.is-late strong{color:#b91c1c}.projets-kpi-reset{color:#1e3a8a;justify-content:center;align-items:center;min-width:58px;font-size:.8rem;font-weight:900;display:inline-flex}.projet-progress-badges{flex-wrap:wrap;gap:5px;max-height:52px;margin-top:6px;display:flex;overflow:hidden}.projet-progress-badges span{color:#334155;white-space:nowrap;background:#f8fbff;border:1px solid #dbe7f4;border-radius:999px;align-items:center;min-height:23px;padding:3px 8px;font-size:.76rem;font-weight:850;display:inline-flex}.projet-action-btn{place-items:center;width:34px;height:34px;min-height:34px;padding:0;display:inline-grid}.projet-action-btn svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.projet-compact-next-actions{margin-top:2px}.projet-compact-next-actions p{max-width:310px}@media (width<=860px){.projets-kpi-bar{margin-right:-8px;padding-left:1px;padding-right:8px}.projet-progress-badges{max-height:56px}.projet-compact-actions{margin-top:2px}}.projets-page-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:10px;display:flex}.projets-page-heading h2,.projets-title-line{flex-wrap:wrap;align-items:center;gap:10px;margin:0;display:flex}.projets-title-count{color:#1d4ed8;letter-spacing:.01em;background:linear-gradient(135deg,#eff6ff 0%,#fff 100%);border:1px solid #bfdbfe;border-radius:999px;align-items:center;gap:6px;min-height:28px;padding:4px 11px;font-size:.82rem;font-weight:900;display:inline-flex;box-shadow:0 8px 18px #2563eb1a}.projets-title-count:before{content:"";background:#22c55e;border-radius:999px;width:7px;height:7px;box-shadow:0 0 0 4px #22c55e24}.projets-page-heading .section-intro{margin:5px 0 0}.projets-status-segmented{background:linear-gradient(135deg,#f8fbff 0%,#eef4ff 100%);border:1px solid #cfe0f6;border-radius:999px;gap:5px;padding:5px;box-shadow:inset 0 1px #fffc,0 10px 22px #0f172a0f}.projets-status-chip{color:#334155;min-height:38px;box-shadow:none;background:#ffffffb8;border:1px solid #0000;border-radius:999px;padding:8px 13px 8px 30px;font-weight:900;position:relative}.projets-status-chip:before{content:"";background:#94a3b8;border-radius:999px;width:8px;height:8px;position:absolute;top:50%;left:13px;transform:translateY(-50%);box-shadow:0 0 0 4px #94a3b824}.projets-status-chip:hover{background:#fff;border-color:#bfdbfe;transform:translateY(-1px);box-shadow:0 10px 20px #2563eb1f}.projets-status-encours:before{background:#22c55e;box-shadow:0 0 0 4px #22c55e24}.projets-status-gagnes:before{background:#16a34a;box-shadow:0 0 0 4px #16a34a24}.projets-status-perdus:before{background:#ef4444;box-shadow:0 0 0 4px #ef444424}.projets-status-tous:before{background:#2563eb;box-shadow:0 0 0 4px #2563eb24}.projets-status-chip.is-active{color:#fff;background:linear-gradient(135deg,#2563eb 0%,#0ea5e9 100%);border-color:#0000;box-shadow:0 12px 24px #2563eb42}.projets-status-chip.is-active:before{background:#fff;box-shadow:0 0 0 4px #ffffff38}.projets-add-button{color:#fff;white-space:nowrap;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 48%,#0ea5e9 100%);border:0;border-radius:999px;min-height:46px;padding:10px 18px;font-weight:900;box-shadow:0 14px 30px #2563eb42}.projets-add-button:hover{transform:translateY(-1px);box-shadow:0 18px 34px #2563eb52}@media (width<=860px){.projets-page-heading{flex-direction:column;gap:6px}.crm-toolbar-actions:has(.projets-status-segmented){align-items:stretch;width:100%}.projets-status-segmented{justify-content:flex-start;width:100%;overflow-x:auto}.projets-add-button{width:100%}}@media (width<=560px){.projets-title-line{flex-direction:column;align-items:flex-start;gap:6px}.projets-status-chip{min-height:36px;padding:7px 11px 7px 28px}}.projets-kpi-bar .projets-kpi-card{padding-left:18px;position:relative;overflow:hidden;min-height:42px!important}.projets-kpi-bar .projets-kpi-card:before{content:"";background:#2563eb;border-radius:13px 0 0 13px;width:6px;position:absolute;top:0;bottom:0;left:0}.projets-kpi-bar .projets-kpi-card:first-of-type:before{background:#f97316}.projets-kpi-bar .projets-kpi-card:nth-of-type(2):before{background:#2563eb}.projets-kpi-bar .projets-kpi-card:nth-of-type(3):before{background:#dc2626}.projets-kpi-bar .projets-kpi-card:nth-of-type(4):before{background:#f97316}.projets-kpi-bar .projets-kpi-card:nth-of-type(5):before{background:#2563eb}.projets-kpi-bar .projets-kpi-card:nth-of-type(6):before{background:#94a3b8}.projets-kpi-bar .projets-kpi-card.is-active:before{width:7px}.projets-kpi-bar .projets-kpi-reset:before{content:none}.projets-page-heading{align-items:center;margin:0 0 22px;display:flex}.projets-title-line{flex-wrap:wrap;align-items:center;gap:10px;margin:0;line-height:1.15;display:flex}.projets-title-main{color:#0f172a;letter-spacing:-.03em;font-size:1.75rem;font-weight:900}.projets-title-subtitle{color:#64748b;letter-spacing:0;font-size:1.05rem;font-weight:500}.projets-title-count{color:#0b5ed7;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;gap:5px;min-height:32px;padding:5px 13px;font-size:.92rem;font-weight:900;line-height:1;display:inline-flex;box-shadow:inset 0 0 0 1px #2563eb0d}.projets-title-count:before{content:"";background:#22c55e;border-radius:999px;flex:0 0 9px;width:9px;height:9px;box-shadow:0 0 0 5px #22c55e29}@media (width<=760px){.projets-page-heading{margin-bottom:16px}.projets-title-line{gap:8px}.projets-title-main,.projets-title-subtitle{font-size:1.35rem}.projets-title-count{min-height:28px;padding:4px 11px;font-size:.85rem}}.clients-page-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:10px;display:flex}.clients-title-line{color:#0f172a;flex-wrap:wrap;align-items:center;gap:10px;margin:0;font-size:1.35rem;font-weight:800;line-height:1.2;display:flex}.clients-title-subtitle{color:#64748b;align-items:center;font-size:.98rem;font-weight:600;line-height:1.2;display:inline-flex}.clients-title-count{color:#1d4ed8;letter-spacing:.01em;background:linear-gradient(135deg,#eff6ff 0%,#fff 100%);border:1px solid #bfdbfe;border-radius:999px;align-self:center;align-items:center;gap:6px;min-height:28px;padding:4px 11px;font-size:.82rem;font-weight:900;display:inline-flex;box-shadow:0 8px 18px #2563eb1a}.clients-title-count:before{content:"";background:#22c55e;border-radius:999px;width:7px;height:7px;box-shadow:0 0 0 4px #22c55e24}.clients-sort-strip{color:#64748b;background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #dbe7f4;border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 10px;padding:8px 10px;font-size:.82rem;display:flex}.clients-sort-strip>span:first-child{text-transform:uppercase;letter-spacing:.04em;margin-right:2px;font-weight:800}.clients-sort-strip button{color:#334155;background:#fff;border:1px solid #d7e1ee;border-radius:999px;min-height:30px;padding:5px 9px;font-size:.82rem;font-weight:800}.client-compact-list{gap:8px;width:100%;min-width:0;display:grid}.clients-empty{background:#f8fbff;border:1px dashed #cbd5e1;border-radius:14px;margin:10px 0 0;padding:11px 12px}.client-compact-card{cursor:pointer;background:linear-gradient(#fff 0%,#f9fcff 100%);border:1px solid #dbe7f4;border-radius:14px;grid-template-columns:minmax(0,1fr) minmax(190px,260px);align-items:center;gap:16px;width:100%;min-width:0;padding:11px 14px 11px 16px;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s;display:grid;position:relative;overflow:hidden;box-shadow:0 8px 18px #0f172a0a}.client-compact-card:before{content:"";background:#2563eb;width:5px;position:absolute;inset:0 auto 0 0}.client-compact-card.is-inactive:before{background:#94a3b8}.client-compact-card.is-incomplete:before{background:#f97316}.client-compact-card.has-project:before{background:#16a34a}.client-compact-card.no-project:before{background:#2563eb}.client-compact-card:hover,.client-compact-card:focus-visible{background:linear-gradient(#fff 0%,#f3f8ff 100%);border-color:#b7cbea;outline:none;transform:translateY(-2px);box-shadow:0 12px 26px #0f172a14}.client-compact-main,.client-compact-side{min-width:0}.client-compact-title-row{align-items:center;gap:8px;min-width:0;display:flex}.client-compact-title{color:#0f172a;align-items:center;gap:6px;min-width:0;font-size:.98rem;line-height:1.25;display:inline-flex}.client-compact-title span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.client-compact-meta,.client-compact-progress{color:#475569;text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0;font-size:.87rem;line-height:1.25;overflow:hidden}.client-compact-progress{color:#1f2937;font-size:.84rem;font-weight:800}.client-meta-separator{color:#64748b;align-items:center;margin:0 9px;font-weight:900;display:inline-flex}.client-meta-link,.client-meta-button{color:#1d4ed8;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:800;text-decoration:none;display:inline}.client-meta-warning{color:#9a3412;background:#ffedd5;border:1px solid #fed7aa;border-radius:999px;align-items:center;padding:1px 7px;font-weight:900;display:inline-flex}.client-meta-link:hover,.client-meta-link:focus-visible,.client-meta-button:hover,.client-meta-button:focus-visible{color:#1e40af;outline:none;text-decoration:underline}.client-progress-badges{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;max-width:100%;margin-top:7px;display:flex}.client-info-badge{color:#1e40af;letter-spacing:.02em;white-space:nowrap;background:#eff6ff;border:1px solid #dbeafe;border-radius:999px;align-items:center;min-height:24px;padding:3px 9px;font-size:.72rem;font-weight:900;display:inline-flex}.client-compact-side{align-content:center;justify-items:end;gap:5px;display:grid}.client-compact-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:100%;display:flex}.client-action-btn{color:#1e3a8a;cursor:pointer;background:linear-gradient(#fff 0%,#f5f8ff 100%);border:1px solid #d7e1ee;border-radius:10px;justify-content:center;align-items:center;min-width:34px;min-height:31px;padding:6px 8px;font-size:.78rem;font-weight:900;transition:transform .16s,border-color .16s,background .16s,color .16s,box-shadow .16s;display:inline-flex;box-shadow:0 6px 14px #2563eb14}.client-action-btn svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.client-action-btn:hover,.client-action-btn:focus-visible{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd;outline:none;transform:translateY(-1px);box-shadow:0 9px 18px #2563eb29}.client-email-notice{max-width:520px}.client-compact-progress-button{color:#1d4ed8;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:900;display:block}.client-compact-progress-button:hover,.client-compact-progress-button:focus-visible{color:#1e40af;outline:none;text-decoration:underline}.client-documents-note{margin:-4px 0 12px}.client-projects-popup{max-width:620px}.client-projects-list{gap:8px;display:grid}.client-project-row{color:#1e3a8a;text-align:left;cursor:pointer;background:#f8fbff;border:1px solid #dbe7f4;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px 12px;font-weight:900;display:flex}.client-project-row small{color:#64748b;white-space:nowrap;font-weight:800}.client-project-row:hover,.client-project-row:focus-visible{background:#eff6ff;border-color:#93c5fd;outline:none}.client-documents-modal{width:100%;max-width:min(1120px,100vw - 32px)}@media (width<=860px){.client-compact-card{grid-template-columns:1fr;gap:8px;padding:10px 10px 10px 15px}.client-compact-side{justify-items:stretch}.client-compact-actions,.client-progress-badges{justify-content:flex-start}}@media (width<=560px){.clients-title-line{flex-direction:column;align-items:flex-start}.clients-sort-strip{align-items:flex-start}.clients-sort-strip>span:first-child{flex-basis:100%}.client-compact-meta,.client-compact-progress{white-space:normal}}.artisans-page-heading{margin-bottom:10px}.artisan-compact-card{grid-template-columns:minmax(0,1fr) minmax(210px,280px)}.artisan-compact-title{flex-wrap:nowrap;max-width:100%}.artisan-title-metiers{color:#475569;font-weight:800}.artisan-compact-meta,.artisan-card-progress{max-width:100%}.artisan-card-progress{display:block}.artisan-inline-action{color:#1d4ed8;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:900;display:inline}.artisan-inline-action:hover,.artisan-inline-action:focus-visible{color:#1e40af;outline:none;text-decoration:underline}.artisan-lots-popup{max-width:760px}.artisan-popup-list{gap:10px;display:grid}.artisan-popup-row{background:#f8fbff;border:1px solid #dbe7f4;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.artisan-popup-row strong{color:#0f172a}.artisan-popup-row p{color:#475569;margin:4px 0 0;font-size:.86rem}@media (width<=860px){.artisan-compact-card,.artisan-popup-row{grid-template-columns:1fr}}.documents-page-heading{margin-bottom:12px}.documents-storage-card{background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #dbe7f4;border-radius:18px;gap:14px;margin:8px 0 14px;padding:16px;display:grid;box-shadow:0 10px 24px #0f172a0d}.documents-storage-main{gap:10px;display:grid}.documents-storage-kicker{color:#64748b;letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:900;display:block}.documents-storage-main strong{color:#0f172a;margin-top:3px;font-size:1.3rem;display:block}.documents-storage-main p{color:#475569;margin:3px 0 0;font-weight:800}.documents-storage-progress{background:#e2e8f0;border-radius:999px;height:10px;overflow:hidden}.documents-storage-progress span{border-radius:inherit;background:#16a34a;max-width:100%;height:100%;transition:width .2s;display:block}.documents-storage-card.is-warning .documents-storage-progress span{background:#f97316}.documents-storage-card.is-danger .documents-storage-progress span{background:#dc2626}.documents-storage-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.documents-storage-tiles>div{background:#fff;border:1px solid #dbeafe;border-radius:14px;padding:11px 12px}.documents-storage-tiles span,.documents-storage-tiles small{color:#64748b;font-size:.78rem;font-weight:800;display:block}.documents-storage-tiles strong{color:#1e3a8a;margin:4px 0 2px;font-size:1rem;display:block}.documents-toolbar{gap:10px;margin-bottom:12px;display:grid}.documents-toolbar-row{flex-wrap:wrap;align-items:center;gap:8px;width:100%;display:flex}.documents-toolbar select,.documents-sort-controls select{color:#334155;background:#fff;border:1px solid #d7e1ee;border-radius:12px;min-height:38px;font-weight:800}.documents-toolbar-search-sort{justify-content:space-between}.documents-search{flex:320px}.documents-sort-controls{flex-wrap:wrap;gap:8px;display:flex}.documents-library-list{gap:8px;display:grid}.document-card{cursor:pointer;background:linear-gradient(#fff 0%,#f9fcff 100%);border:1px solid #dbe7f4;border-radius:14px;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px 10px 16px;transition:transform .16s,border-color .16s,box-shadow .16s;display:grid;position:relative;box-shadow:0 8px 18px #0f172a0a}.document-card:before{content:"";background:#2563eb;width:5px;position:absolute;inset:0 auto 0 0}.document-card:hover,.document-card:focus-visible{border-color:#b7cbea;outline:none;transform:translateY(-2px);box-shadow:0 12px 26px #0f172a14}.document-file-badge{color:#1e40af;letter-spacing:.05em;background:#eff6ff;border:1px solid #dbeafe;border-radius:13px;justify-content:center;align-items:center;width:46px;height:46px;font-size:.74rem;font-weight:950;display:inline-flex;overflow:hidden}.document-file-badge.is-pdf{color:#9a3412;background:#fff7ed;border-color:#fed7aa}.document-file-badge.is-image{color:#166534;background:#ecfdf5;border-color:#bbf7d0}.document-file-badge.is-office{color:#3730a3;background:#eef2ff;border-color:#c7d2fe}.document-card-main{gap:4px;min-width:0;display:grid}.document-card-main strong,.document-card-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-card-main strong{color:#0f172a;font-size:.96rem}.document-card-main span{color:#475569;font-size:.84rem;font-weight:700}.document-actions.documents-library-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.document-action-icon{color:#1e3a8a;cursor:pointer;background:linear-gradient(#fff 0%,#f5f8ff 100%);border:1px solid #d7e1ee;border-radius:10px;justify-content:center;align-items:center;min-width:34px;min-height:31px;padding:6px 8px;transition:transform .16s,border-color .16s,background .16s,color .16s,box-shadow .16s;display:inline-flex;box-shadow:0 6px 14px #2563eb14}.document-action-icon svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.document-action-icon:hover,.document-action-icon:focus-visible{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd;outline:none;transform:translateY(-1px);box-shadow:0 9px 18px #2563eb29}.document-action-icon.is-danger:hover,.document-action-icon.is-danger:focus-visible{color:#991b1b;background:#fee2e2;border-color:#fca5a5}@media (width<=900px){.documents-storage-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.document-card{grid-template-columns:50px minmax(0,1fr)}.document-actions.documents-library-actions{grid-column:1/-1;justify-content:flex-start}}@media (width<=560px){.documents-storage-tiles{grid-template-columns:1fr}.documents-sort-controls,.documents-sort-controls select{width:100%}.document-card-main strong,.document-card-main span{white-space:normal}}.suivi-page-heading{margin-bottom:12px}.suivi-kpi-grid{grid-template-columns:repeat(9,minmax(0,1fr));gap:8px;margin:8px 0 14px;display:grid}.suivi-kpi-tile{color:#334155;text-align:left;cursor:pointer;background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #dbe7f4;border-radius:14px;justify-content:space-between;align-items:center;gap:8px;min-height:58px;padding:10px 12px 10px 14px;font-weight:900;transition:transform .16s,border-color .16s,box-shadow .16s,background .16s;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 18px #0f172a0a}.suivi-kpi-tile:before{content:"";background:#2563eb;width:5px;position:absolute;inset:0 auto 0 0}.suivi-kpi-tile span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.8rem;overflow:hidden}.suivi-kpi-tile strong{color:#0f172a;font-size:1.15rem}.suivi-kpi-tile:hover,.suivi-kpi-tile:focus-visible,.suivi-kpi-tile.is-active{background:#eff6ff;border-color:#93c5fd;outline:none;transform:translateY(-2px);box-shadow:0 12px 26px #0f172a14}.suivi-kpi-tile.is-blue:before{background:#2563eb}.suivi-kpi-tile.is-cyan:before{background:#0891b2}.suivi-compact-card.is-overdue:before{background:#dc2626}.suivi-compact-card.is-today:before{background:#7c3aed}.suivi-compact-card.is-done:before{background:#16a34a}.suivi-compact-card.is-todo:before{background:#f97316}.suivi-compact-card.is-progress:before{background:#2563eb}.suivi-title-status{color:#475569;font-weight:800}.suivi-compact-progress strong{color:#1e3a8a}.suivi-documents-overlay .client-documents-modal{max-width:min(1120px,100vw - 32px)}@media (width<=1180px){.suivi-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=720px){.suivi-kpi-grid{grid-template-columns:1fr 1fr}}@media (width<=520px){.suivi-kpi-grid{grid-template-columns:1fr}}.suivi-form-modal-card{grid-template-rows:auto minmax(0,1fr) auto;width:min(860px,100%);max-height:min(88vh,820px);padding:0;display:grid;overflow:hidden}.suivi-form-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:14px;padding:16px 18px 12px;display:flex}.suivi-form-modal-context{flex-wrap:wrap;gap:6px 14px;margin-top:5px;display:flex}.suivi-form-modal-context strong{color:#334155}.suivi-form-modal-body{gap:12px;padding:14px 18px;overflow-y:auto}.suivi-form-modal-grid{gap:10px 12px}.suivi-form-modal-grid label{gap:4px}.suivi-form-modal-grid textarea{min-height:86px}.suivi-form-lots-panel{background:#f8fbff;border:1px solid #dbeafe;border-radius:14px;overflow:hidden}.suivi-form-lots-panel summary{cursor:pointer;color:#0f172a;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-weight:900;display:flex}.suivi-form-lots-panel summary span{color:#64748b;font-size:.78rem;font-weight:800}.suivi-lots-grid-compact{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;padding:0 12px 12px}.suivi-lot-card-compact{gap:8px;padding:8px 10px}.suivi-form-modal-footer{background:#fff;border-top:1px solid #e2e8f0;justify-content:flex-end;gap:10px;padding:12px 18px 14px;display:flex;box-shadow:0 -10px 24px #0f172a0f}@media (width<=768px){.suivi-form-modal-card{max-height:92vh}.suivi-form-modal-header,.suivi-form-modal-body,.suivi-form-modal-footer{padding-left:14px;padding-right:14px}.suivi-form-modal-footer{flex-direction:column}}.suivi-form-end-estimate{background:#f8fbff;border:1px solid #dbeafe;border-radius:12px;align-content:end;gap:4px;margin:0;padding:8px 10px;display:grid;min-height:42px!important}.suivi-form-end-estimate span{color:#475569;font-size:.78rem;font-weight:800}.suivi-form-end-estimate strong{color:#0f172a;font-size:.96rem;font-weight:950}.suivi-preview-actions{align-items:center;gap:6px;margin-bottom:8px;padding-bottom:8px}.suivi-preview-actions button{min-height:32px}.suivi-preview-action-link{padding:0 4px;font-weight:800}.suivi-preview-action-secondary{color:#334155;background:#fff;border-color:#e2e8f0;padding:7px 10px}.suivi-preview-action-primary{color:#fff;cursor:pointer;background:#16a34a;border:1px solid #16a34a;border-radius:999px;padding:7px 12px;font-weight:900;box-shadow:0 8px 16px #16a34a29}.suivi-preview-action-primary:hover,.suivi-preview-action-primary:focus-visible{background:#15803d;border-color:#15803d;transform:translateY(-1px)}.suivi-preview-popup{width:min(780px,100vw - 28px)}.suivi-preview-section{gap:12px}.suivi-preview-header{gap:6px;display:grid}.suivi-preview-badges{margin-top:2px}.suivi-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.suivi-preview-card,.suivi-preview-documents{background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #dbeafe;border-radius:16px;min-width:0;padding:11px 12px;box-shadow:0 10px 22px #0f172a0a}.suivi-preview-card{align-content:start;gap:5px;display:grid}.suivi-preview-card-wide{grid-column:1/-1}.suivi-preview-label{color:#64748b;letter-spacing:.08em;text-transform:uppercase;font-size:.74rem;font-weight:900}.suivi-preview-card strong{color:#0f172a}.suivi-preview-card p,.suivi-preview-card ul,.suivi-preview-card dl{margin:0}.suivi-preview-card p,.suivi-preview-list,.suivi-preview-kv dd{color:#334155;font-size:.92rem;line-height:1.45}.suivi-preview-kv{gap:6px;display:grid}.suivi-preview-kv div{grid-template-columns:92px minmax(0,1fr);gap:10px;display:grid}.suivi-preview-kv dt{color:#64748b;font-size:.78rem;font-weight:800}.suivi-preview-kv dd{overflow-wrap:anywhere}.suivi-preview-comment{max-height:7.5rem;padding-right:4px;overflow:auto}.suivi-preview-list{gap:4px;padding-left:18px;display:grid}.suivi-preview-documents{gap:6px;display:grid}.suivi-preview-documents-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.suivi-preview-empty-docs{justify-content:space-between;align-items:center;gap:8px;min-height:28px;display:flex}.suivi-preview-empty-docs p{margin:0;font-size:.84rem}.suivi-preview-documents-link{font-size:.84rem;font-weight:800}.suivi-preview-documents .document-compact-card{box-shadow:none;margin:0;padding:10px 12px}@media (width<=720px){.suivi-preview-popup{width:min(100%,100vw - 20px)}.suivi-preview-grid{grid-template-columns:1fr}.suivi-preview-kv div{grid-template-columns:1fr;gap:2px}.suivi-preview-documents-heading,.suivi-preview-empty-docs{flex-direction:column;align-items:flex-start}}.admin-activity-log{gap:12px;display:grid}.admin-activity-header{margin-bottom:0}.admin-activity-filters{grid-template-columns:1fr!important;gap:8px!important;margin-bottom:10px!important;padding:10px 12px!important;display:grid!important}.admin-activity-filter-row{gap:8px;width:100%;min-width:0;display:grid}.admin-activity-filter-row-main{grid-template-columns:minmax(260px,1fr) minmax(140px,180px) minmax(160px,220px) minmax(160px,220px)}.admin-activity-filter-row-dates{grid-template-columns:minmax(150px,190px) minmax(150px,190px) max-content;align-items:center}.admin-activity-filters .crm-search-input,.admin-activity-filters select,.admin-activity-filters input[type=date]{width:100%;min-width:0;min-height:42px!important}.admin-activity-date-field{color:#64748b;gap:3px;min-width:0;font-size:.78rem;font-weight:700;display:grid}.admin-activity-date-field input{font-size:.95rem;font-weight:500}.admin-activity-list{gap:8px;margin-top:0}.admin-activity-day-group{gap:7px}.admin-activity-row.crm-timeline-row.crm-history-row{cursor:pointer;background:linear-gradient(#fff 0%,#fbfdff 100%);border:1px solid #dbeafe;border-left-width:6px;border-radius:17px;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:10px;min-height:0;padding:10px 14px 10px 16px;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s;display:grid;position:relative;overflow:hidden;box-shadow:0 10px 24px #0f172a0b}.admin-activity-row.admin-activity-card--danger{border-left-color:#ef4444}.admin-activity-row.admin-activity-card--warning{border-left-color:#f97316}.admin-activity-row.admin-activity-card--info{border-left-color:#2563eb}.admin-activity-row.admin-activity-card--success{border-left-color:#22c55e}.admin-activity-row.admin-activity-card--neutral{border-left-color:#94a3b8}.admin-activity-row:hover,.admin-activity-row:focus-visible{background:linear-gradient(#fff 0%,#f7fbff 100%);border-color:#bfdbfe;outline:none;transform:translateY(-1px);box-shadow:0 14px 30px #2563eb13}.admin-activity-row:focus-visible{box-shadow:0 0 0 3px #2563eb29,0 14px 30px #2563eb13}.admin-activity-content{gap:2px}.admin-activity-title-line{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;display:grid}.admin-activity-title-line strong{color:#0f172a;overflow-wrap:anywhere;font-size:.94rem;font-weight:750;line-height:1.25}.admin-activity-chevron{color:#64748b;border-radius:999px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;font-size:1.35rem;line-height:1;display:inline-flex}.admin-activity-row:hover .admin-activity-chevron,.admin-activity-row:focus-visible .admin-activity-chevron{color:#1d4ed8;background:#eff6ff}.admin-activity-description{color:#475569;overflow-wrap:anywhere;margin:1px 0 0;font-size:.84rem;line-height:1.35}.admin-activity-business-context{color:#334155;flex-wrap:wrap;gap:2px 14px;margin:3px 0 2px;font-size:.82rem;line-height:1.3;display:flex}.admin-activity-business-context p{overflow-wrap:anywhere;margin:0}.admin-activity-business-context strong{color:#1e3a5f;font-weight:750}.admin-activity-changes p{overflow-wrap:anywhere}.admin-activity-modal{width:min(760px,100%);max-height:min(86vh,820px);padding:18px;overflow:hidden auto}.admin-activity-modal-header{align-items:flex-start;gap:12px;margin-bottom:10px}.admin-activity-modal-header h3{overflow-wrap:anywhere;margin:6px 0 2px;line-height:1.25}.admin-activity-modal-sections{gap:10px;display:grid}.admin-activity-modal-section{margin:0}.admin-activity-summary-grid,.admin-activity-context-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;display:grid}.admin-activity-summary-grid p,.admin-activity-context-list p{gap:2px;min-width:0;margin:0;display:grid}.admin-activity-summary-grid span,.admin-activity-context-list span{color:#64748b;font-size:.78rem;font-weight:700}.admin-activity-summary-grid strong,.admin-activity-context-list strong{color:#0f172a;overflow-wrap:anywhere;font-size:.9rem}.admin-activity-modal-description{color:#475569;overflow-wrap:anywhere;margin:10px 0 0;line-height:1.35}.admin-activity-change-list{gap:4px;display:grid}.admin-activity-change-row{color:#475569;border-top:1px solid #eef2f7;grid-template-columns:minmax(120px,.75fr) minmax(0,1fr) auto minmax(0,1fr);align-items:baseline;gap:8px;padding:6px 0;font-size:.9rem;display:grid}.admin-activity-change-row:first-child{border-top:0}.admin-activity-change-row>span:first-child{color:#64748b;font-weight:700}.admin-activity-change-row strong{color:#0f172a;overflow-wrap:anywhere}@media (width<=980px){.admin-activity-filter-row-main{grid-template-columns:minmax(220px,1fr) minmax(140px,1fr)}}@media (width<=760px){.admin-activity-filter-row-main,.admin-activity-filter-row-dates,.admin-activity-summary-grid,.admin-activity-context-list{grid-template-columns:1fr}.admin-activity-row.crm-timeline-row.crm-history-row{grid-template-columns:1fr;padding:10px 12px}.admin-activity-title-line{grid-template-columns:minmax(0,1fr) auto}.admin-activity-change-row{grid-template-columns:1fr;gap:3px}}.document-list{gap:10px;display:grid}.document-item{grid-template-columns:58px minmax(0,1fr) 168px;align-items:center;gap:12px;min-height:76px;display:grid}.document-thumb{justify-content:center;align-items:center;width:52px;height:52px;display:inline-flex;overflow:hidden}.document-thumb img{object-fit:cover;width:100%;height:100%}.document-meta{gap:3px;min-width:0;display:grid}.document-meta strong,.document-meta span,.document-meta small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-actions{justify-content:flex-end;align-items:center;gap:6px;width:168px;display:flex}@media (width<=720px){.document-item{grid-template-columns:48px minmax(0,1fr)}.document-actions{grid-column:1/-1;justify-content:flex-start;width:100%}}.admin-documents-type-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));align-items:start;display:grid}.admin-documents-type-family{gap:8px;display:grid}.admin-documents-type-family h5{color:#334155;text-transform:uppercase;letter-spacing:.04em;margin:0;font-size:.86rem;font-weight:900}.admin-documents-type-family-grid{grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:8px;display:grid}.admin-documents-type-badge span{font-size:.92rem;font-weight:900}.document-list .document-item{grid-template-columns:58px minmax(0,1fr) 176px;align-items:start}.document-list .document-actions{align-self:center;align-items:center;width:176px;min-height:52px}.cookie-consent-banner{z-index:1800;pointer-events:none;justify-content:center;display:flex;position:fixed;bottom:16px;left:16px;right:16px}.cookie-consent-content{pointer-events:auto;background:#fff;border:1px solid #dbe3ef;border-radius:16px;justify-content:space-between;align-items:center;gap:16px;width:min(960px,100%);padding:12px 16px;display:flex;box-shadow:0 18px 45px #0f172a29}.cookie-consent-mascot{object-fit:contain;flex:0 0 72px;width:72px;height:72px}.cookie-consent-text{color:#334155;flex:auto;min-width:0;margin:0;font-size:.92rem;line-height:1.45}.cookie-consent-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:8px;display:flex}@media (width<=720px){.cookie-consent-banner{bottom:10px;left:10px;right:10px}.cookie-consent-content{text-align:center;flex-direction:column;align-items:center;gap:10px}.cookie-consent-mascot{flex-basis:52px;width:52px;height:52px}.cookie-consent-actions{justify-content:stretch;width:100%}.cookie-consent-actions button{flex:120px}}.dossier-scope-filter{background:#f5f9ff;border:1px solid #c7dcfc;border-radius:18px;flex-direction:column;gap:10px;margin:0 0 14px;padding:12px 16px;display:flex}.dossier-scope-top,.dossier-scope-options{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.dossier-scope-heading{color:#475569;font-size:.92rem;font-weight:750}.dossier-scope-switch{width:fit-content;max-width:100%}.dossier-scope-options{border-top:1px solid #dce9fa;padding-top:10px}.dossier-scope-check{cursor:pointer;color:#1e293b;align-items:center;gap:8px;font-size:.9rem;font-weight:600;display:inline-flex}.dossier-scope-check input{accent-color:#1976d2;cursor:pointer;width:16px;height:16px;margin:0}.dossier-scope-note{color:#64748b;font-size:.82rem}.dossier-scope-note.is-error{color:#b91c1c}@media (width<=640px){.dossier-scope-filter{border-radius:14px;padding:10px 12px}.dossier-scope-switch{flex-wrap:wrap}.dossier-scope-options{gap:10px 16px}}.crm-compact-filters{background:#f5f9ff;border:1px solid #c7dcfc;border-radius:18px;flex-direction:column;gap:9px;margin:0 0 14px;padding:12px 14px;display:flex}.crm-compact-filters-primary{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.crm-compact-filters-primary .crm-search-input{flex:290px;min-width:180px;margin:0}.crm-compact-scope-select{flex:none;display:inline-flex}.crm-compact-scope-select select,.crm-compact-field select{color:#1e293b;max-width:100%;min-height:42px;font:inherit;cursor:pointer;background:#fff;border:1px solid #c7dcfc;border-radius:24px;padding:8px 32px 8px 13px;font-size:.9rem;font-weight:700}.crm-compact-more,.crm-compact-direction{color:#1e3a8a;min-height:42px;font:inherit;cursor:pointer;background:#fff;border:1px solid #c7dcfc;border-radius:24px;justify-content:center;align-items:center;gap:7px;padding:9px 14px;font-size:.9rem;font-weight:750;display:inline-flex}.crm-compact-more.is-active,.crm-compact-more:hover,.crm-compact-more:focus-visible,.crm-compact-direction:hover,.crm-compact-direction:focus-visible{background:#eaf3ff;border-color:#93c5fd}.crm-compact-create{margin-left:auto}.crm-compact-create .projets-add-button{white-space:nowrap}.crm-compact-filters-current{color:#64748b;font-size:.79rem;line-height:1.3}.crm-compact-filters-advanced{border-top:1px solid #dce9fa;flex-wrap:wrap;align-items:flex-end;gap:12px;padding-top:12px;display:flex}.crm-compact-field{color:#475569;flex-direction:column;gap:5px;font-size:.82rem;font-weight:700;display:flex}.crm-compact-mine-options{border:0;flex-wrap:wrap;align-items:center;gap:10px 18px;min-width:210px;margin:0;padding:0;display:flex}.crm-compact-mine-options legend{color:#475569;margin-bottom:8px;font-size:.82rem;font-weight:700}.crm-compact-main-kpis{flex-wrap:wrap;margin:0 0 5px;overflow-x:visible}.crm-compact-extra-kpis{margin:0 0 8px}.crm-compact-extra-kpis summary{cursor:pointer;color:#2563eb;border-radius:10px;width:fit-content;padding:5px 9px;font-size:.84rem;font-weight:750}.crm-compact-extra-kpis summary:hover,.crm-compact-extra-kpis summary:focus-visible{background:#eff6ff}.crm-compact-extra-kpi-list{flex-wrap:wrap;margin:4px 0 0}@media (width<=660px){.crm-compact-filters{padding:10px}.crm-compact-filters-primary .crm-search-input{flex-basis:100%}.crm-compact-create{margin-left:0}.crm-compact-filters-advanced{align-items:stretch}}.crm-list-card .projets-page-heading,.crm-list-card .clients-page-heading{margin-bottom:7px}.crm-compact-kpis{margin:0 0 9px}.crm-compact-kpis-top{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.crm-compact-kpis-top .crm-compact-main-kpis{flex-wrap:wrap;flex:auto;align-items:center;gap:8px;margin:0;padding:2px 0;display:flex}.crm-compact-kpi-toggle{color:#2563eb;font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:6px;margin-left:auto;padding:7px 10px;font-size:.84rem;font-weight:750;display:inline-flex}.crm-compact-kpi-toggle:hover,.crm-compact-kpi-toggle:focus-visible{background:#eff6ff;border-color:#bfdbfe}.crm-compact-kpis .crm-compact-extra-kpi-list{flex-wrap:wrap;gap:8px;margin:5px 0 0;padding:3px 0;display:flex}.crm-compact-filters{gap:6px;margin-bottom:10px;padding:10px 12px}.crm-compact-filters-primary{gap:8px}.crm-compact-filters-advanced{gap:10px;padding-top:10px}.crm-compact-scope-select select{min-width:175px}.crm-list-card .projets-title-count,.crm-list-card .clients-title-count{font-size:.82rem}@media (width<=660px){.crm-compact-kpi-toggle{margin-left:0}.crm-compact-kpis-top .crm-compact-main-kpis{flex-basis:100%}.crm-compact-scope-select{flex:auto}.crm-compact-scope-select select{width:100%;min-width:0}}.documents-storage-collapsible{margin:5px 0 10px;padding:10px 14px;display:block}.documents-storage-summary{cursor:pointer;color:#334155;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:.9rem;list-style:none;display:flex}.documents-storage-summary::-webkit-details-marker{display:none}.documents-storage-summary strong{color:#0f172a}.documents-storage-short{color:#64748b}.documents-storage-expand-label{color:#2563eb;font-size:.81rem;font-weight:800}.documents-storage-collapsible[open] .documents-storage-progress{margin:12px 0}.documents-storage-collapsible[open] .documents-storage-expand-label{color:#1e40af}.documents-library-toolbar{gap:7px;margin-bottom:8px;padding:10px 12px}.documents-view-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:9px 16px;margin:5px 0 9px;display:flex}.documents-view-switch,.documents-selection-toolbar{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.documents-view-switch{background:#eff6ff;border:1px solid #c7dcfc;border-radius:18px;padding:4px}.documents-view-switch button,.documents-deselect-btn,.documents-bulk-download{color:#1e3a8a;min-height:34px;font:inherit;cursor:pointer;background:#fff;border:1px solid #0000;border-radius:14px;padding:6px 11px;font-size:.83rem;font-weight:750}.documents-view-switch button.is-active,.documents-bulk-download{color:#fff;background:linear-gradient(115deg,#0b63d9,#1999e8)}.documents-view-switch button:focus-visible,.documents-deselect-btn:focus-visible,.documents-bulk-download:focus-visible{outline-offset:2px;outline:3px solid #93c5fd}.documents-view-switch button:disabled,.documents-deselect-btn:disabled,.documents-bulk-download:disabled{opacity:.5;cursor:not-allowed}.documents-select-all{color:#334155;cursor:pointer;align-items:center;gap:6px;font-size:.83rem;font-weight:700;display:inline-flex}.documents-select-all input,.documents-card-select input{accent-color:#147be4;cursor:pointer;width:17px;height:17px}.documents-deselect-btn{border-color:#dbeafe}.documents-selected-counter{color:#475569;font-size:.81rem;font-weight:700}.documents-library-list .document-card.is-selected{background:#eff6ff;border-color:#6ba9f5}.documents-card-select{justify-content:center;align-items:center;display:flex}.documents-view-compact .document-card{grid-template-columns:22px 42px minmax(0,1fr) auto;gap:9px;min-height:56px;padding:7px 11px 7px 14px}.documents-view-compact .document-file-badge{border-radius:9px;width:36px;height:36px}.documents-view-compact .document-card-main{gap:2px}.documents-view-compact .document-card-main strong{font-size:.86rem}.documents-view-compact .document-card-main span{font-size:.76rem}.documents-view-compact .document-actions.documents-library-actions{gap:4px;max-width:none}.documents-view-compact .document-action-icon{min-width:30px;min-height:30px;box-shadow:none;padding:5px}.documents-view-cards .document-card{grid-template-columns:24px 48px minmax(0,1fr) auto;gap:10px;min-height:77px;padding:10px 12px 10px 15px}.documents-view-thumbnails{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:12px}.documents-view-thumbnails .document-card{grid-template-rows:auto 130px minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;min-width:0;padding:9px 11px 12px 14px;display:grid}.documents-view-thumbnails .documents-card-select{grid-column:1/-1;justify-self:start}.documents-view-thumbnails .document-file-badge{border-radius:10px;grid-column:1/-1;width:100%;height:130px}.documents-view-thumbnails .document-file-badge img{object-fit:contain}.documents-view-thumbnails .document-card-main{grid-column:1/-1;gap:5px}.documents-view-thumbnails .document-card-main strong,.documents-view-thumbnails .document-card-main span{white-space:normal;overflow-wrap:anywhere}.documents-view-thumbnails .document-card-main strong{font-size:.88rem}.documents-view-thumbnails .document-card-main span{font-size:.74rem}.documents-view-thumbnails .document-actions.documents-library-actions{grid-column:1/-1;justify-content:flex-start;gap:5px}@media (width<=900px){.documents-view-compact .document-card{grid-template-columns:22px 40px minmax(0,1fr)}.documents-view-cards .document-card{grid-template-columns:24px 48px minmax(0,1fr)}.documents-view-compact .document-actions.documents-library-actions,.documents-view-cards .document-actions.documents-library-actions{grid-column:2/-1;justify-content:flex-start}}@media (width<=560px){.documents-view-thumbnails{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}.documents-storage-short{margin-top:3px;display:block}.documents-view-toolbar{align-items:flex-start}}.artisan-email-multi{gap:7px;width:100%;min-width:0;display:grid}.artisan-email-multi-toggle{width:fit-content;font-size:.86rem;font-weight:700}.artisan-email-multi-panel{background:#f6faff;border:1px solid #c7dcfc;border-radius:12px;gap:8px;min-width:0;padding:10px;display:grid}.artisan-email-multi-panel>input{background:#fff;border:1px solid #c7dcfc;border-radius:9px;max-width:100%;min-height:37px;padding:6px 9px}.artisan-email-multi-list{gap:2px;max-height:190px;display:grid;overflow:auto}.artisan-email-multi-list label{cursor:pointer;border-radius:8px;align-items:center;gap:9px;padding:7px 8px;display:flex}.artisan-email-multi-list label:hover{background:#eaf3ff}.artisan-email-multi-list label input{accent-color:#0e70d9;flex:0 0 16px;width:16px;height:16px}.artisan-email-multi-list label span{gap:2px;min-width:0;font-size:.86rem;display:grid}.artisan-email-multi-list label small{color:#64748b;overflow-wrap:anywhere;font-size:.77rem}.crm-compact-kpis-top .suivi-kpi-grid{flex:auto;gap:8px;width:auto;margin:0;padding:2px 0;display:flex}.crm-compact-kpis .suivi-kpi-grid.crm-compact-extra-kpi-list{flex-wrap:wrap;gap:8px;margin:5px 0 0;display:flex}.chantier-compact-kpis{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chantier-kpi-button{color:#334155;font:inherit;cursor:pointer;background:#fff;border:1px solid #d0e1fa;border-left:4px solid #64748b;border-radius:12px;align-items:center;gap:14px;padding:9px 12px;font-weight:750;display:inline-flex}.chantier-kpi-button span{font-size:.8rem}.chantier-kpi-button strong{color:#111827;font-size:.98rem}.chantier-kpi-button.is-active{background:#eff6ff;border-color:#93c5fd #93c5fd #93c5fd #2563eb}.chantier-kpi-button:hover,.chantier-kpi-button:focus-visible{outline-offset:2px;background:#f0f7ff}@media (width<=640px){.crm-compact-kpis-top .suivi-kpi-grid{flex-wrap:wrap;flex-basis:100%}}.mail-composer-overlay{z-index:1400;padding:22px}.mail-composer{box-sizing:border-box;color:#11284d;text-align:left;background:#fff;border:1px solid #dce7f6;border-radius:24px;outline:none;flex-direction:column;width:min(960px,100%);max-height:min(920px,100dvh - 44px);display:flex;overflow:hidden;box-shadow:0 25px 90px #122e5633}.mail-composer *,.mail-composer :before,.mail-composer :after{box-sizing:border-box}.mail-composer-header{border-bottom:1px solid #e3eaf5;flex-shrink:0;align-items:center;gap:16px;padding:24px 28px 20px;display:flex}.mail-header-icon{color:#1255db;background:linear-gradient(145deg,#e8f2ff,#cde0ff);border-radius:15px;flex-shrink:0;place-items:center;width:52px;height:52px;font-size:30px;display:grid}.mail-composer-header h2{margin:0;font-size:1.65rem;line-height:1.2}.mail-composer-header p{color:#647792;margin:6px 0 0;font-size:.88rem}.mail-close{color:#58708c;cursor:pointer;background:0 0;border:0;min-width:36px;margin-left:auto;padding:8px;font-size:28px}.mail-composer-scroll{overscroll-behavior:contain;min-height:0;padding:6px 28px 20px;overflow:auto}.mail-recipient-row{border-bottom:1px solid #e9eef7;align-items:flex-start;gap:15px;padding:13px 0;display:flex}.mail-recipient-label{flex-shrink:0;width:45px;padding-top:7px;font-size:.92rem;font-weight:750}.mail-recipient-content{flex:1;min-width:0;position:relative}.mail-recipient-chips{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.mail-chip{color:#173f82;background:#e5efff;border-radius:10px;align-items:center;gap:8px;max-width:100%;padding:7px 10px;font-size:.84rem;font-weight:650;display:inline-flex}.mail-chip>span{overflow-wrap:anywhere;min-width:0}.mail-chip button,.mail-attachment button{color:inherit;cursor:pointer;background:0 0;border:0;flex-shrink:0;padding:0 3px;font-size:18px}.mail-add-contact{color:#1255db;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #b7d0fb;border-radius:9px;padding:6px 11px;font-size:.82rem}.mail-copy-hint{color:#73839b;margin-top:5px;font-size:.75rem;display:block}.mail-contact-popover{z-index:20;background:#fff;border:1px solid #d6e2f5;border-radius:17px;width:min(440px,100%);max-height:min(450px,100dvh - 220px);margin:8px 0 2px;padding:14px;position:absolute;top:100%;right:0;overflow:auto;box-shadow:0 10px 35px #1a45781c}.mail-contact-heading{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.mail-popover-close{color:#62728a;cursor:pointer;background:0 0;border:0;padding:2px 8px;font-size:22px}.mail-contact-popover>input,.mail-manual-contact input{width:100%;font:inherit;background:#fbfdff;border:1px solid #d6e2f5;border-radius:9px;min-width:0;padding:9px 10px;font-size:.83rem}.mail-contact-list{max-height:240px;margin:8px 0;display:grid;overflow:auto}.mail-contact-option{cursor:pointer;border-bottom:1px solid #edf1f8;border-radius:10px;align-items:center;gap:9px;padding:10px 5px;display:flex}.mail-contact-option.is-selected{background:#f0f6ff}.mail-contact-option:has(input:disabled){opacity:.6;cursor:default}.mail-contact-option>input{accent-color:#155bdb;flex-shrink:0;width:17px;height:17px;min-height:17px;margin:0}.mail-contact-avatar{color:#155bdb;background:#dfecff;border-radius:50%;flex-shrink:0;place-items:center;width:34px;height:34px;font-size:.75rem;font-weight:700;display:grid}.mail-contact-info{overflow-wrap:anywhere;gap:2px;min-width:0;display:grid}.mail-contact-info strong{font-size:.84rem}.mail-contact-info small{color:#62748f;font-size:.74rem;font-weight:400}.mail-contacts-done{color:#fff;cursor:pointer;background:#155bdb;border:0;border-radius:9px;width:100%;margin-top:9px;padding:9px;font-weight:650}.mail-manual-contact{gap:6px;display:flex}.mail-manual-contact button{color:#155bdb;cursor:pointer;background:#f3f7ff;border:1px solid #cbdaf2;border-radius:8px}.mail-subject{align-items:center;gap:15px;margin:15px 0;font-size:.92rem;font-weight:700;display:flex}.mail-subject>span{flex-shrink:0;width:45px}.mail-subject input{width:0;min-width:0;font:inherit;background:#fbfdff;border:1px solid #d4dfef;border-radius:10px;flex:1;padding:11px;font-weight:400}.mail-message{background:#fff;border:1px solid #cbd9ed;border-radius:12px;margin-bottom:12px;display:block;overflow:hidden}.mail-message:focus-within{border-color:#85b4ff;box-shadow:0 0 0 2px #dceaff}.mail-message textarea{resize:vertical;width:100%;min-height:160px;max-height:550px;font:inherit;color:#17345b;background:0 0;border:0;border-radius:0;padding:18px;font-size:.95rem;line-height:1.6;display:block}.mail-composer .mail-message textarea:focus-visible{outline:none}.mail-inline-signature{color:#536b87;border-top:1px solid #e6edf6;margin:0 18px;padding:15px 0 18px}.mail-inline-signature pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.85rem;line-height:1.55}.mail-attachments{flex-wrap:wrap;gap:8px;display:flex}.mail-attachment{color:#214984;overflow-wrap:anywhere;background:#eaf2ff;border-radius:9px;align-items:center;gap:7px;max-width:100%;padding:8px 11px;font-size:.8rem;display:inline-flex}.mail-composer-footer{background:#fff;border-top:1px solid #e3eaf5;flex-shrink:0;justify-content:space-between;align-items:center;gap:14px;padding:17px 28px;display:flex}.mail-composer-footer small{color:#71839c;font-size:.76rem}.mail-composer-footer>div{gap:10px;display:flex}.mail-cancel,.mail-send{font:inherit;cursor:pointer;border:1px solid #c6d8f3;border-radius:10px;padding:11px 19px;font-size:.87rem;font-weight:650}.mail-cancel{color:#345071;background:#fff}.mail-send{color:#fff;background:#155bdb;border-color:#155bdb}.mail-send span{margin-left:8px}.mail-composer button:disabled{opacity:.5;cursor:default}.mail-composer :is(button,input,textarea,select,summary):focus-visible{outline-offset:2px;outline:3px solid #85b4ff}.mail-error{color:#a52332;background:#fff1f1;border-radius:9px;padding:10px;font-size:.85rem}.mail-status{color:#647792;font-size:.83rem}.mail-lot-context{color:#4b6585;align-items:center;gap:12px;padding:12px 0;font-size:.82rem;display:flex}.mail-lot-context select{border:1px solid #d4dfef;border-radius:9px;max-width:70%;padding:7px}.mail-bulk-row{border:1px solid #dbe5f3;border-radius:12px;margin:10px 0;padding:12px}.mail-bulk-row summary{cursor:pointer;font-size:.9rem;font-weight:650}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=600px){.mail-composer-overlay{padding:8px}.mail-composer{border-radius:17px;max-height:calc(100dvh - 16px)}.mail-composer-header{gap:10px;padding:16px}.mail-composer-header h2{font-size:1.2rem}.mail-header-icon{width:38px;height:38px;font-size:24px}.mail-composer-scroll{padding:5px 15px 15px}.mail-recipient-label,.mail-subject>span{width:30px}.mail-recipient-row,.mail-subject{gap:8px}.mail-composer-footer{flex-wrap:wrap;gap:8px;padding:12px 15px}.mail-composer-footer>div{margin-left:auto}.mail-composer-footer small{font-size:.68rem}.mail-message textarea{min-height:140px;padding:12px}.mail-inline-signature{margin:0 12px;padding:12px 0}.mail-contact-popover{width:auto;max-height:calc(100dvh - 220px);position:fixed;top:120px;left:16px;right:16px}.mail-subject>span{width:42px}}.agenda-editor-overlay{z-index:1500;padding:20px}.agenda-event-editor{color:#142f57;text-align:left;background:#fff;border:1px solid #d6e3f4;border-radius:23px;outline:none;flex-direction:column;width:min(1160px,100%);max-height:calc(100dvh - 40px);display:flex;overflow:hidden;box-shadow:0 25px 80px #10274533}.agenda-event-editor *{box-sizing:border-box}.agenda-editor-header{border-bottom:1px solid #e7edf7;align-items:center;gap:16px;padding:22px 26px;display:flex}.agenda-editor-header>span{color:#125cdb;background:#e6f0ff;border-radius:13px;flex-shrink:0;place-items:center;width:48px;height:48px;font-size:30px;display:grid}.agenda-editor-header h2{margin:0;font-size:1.65rem}.agenda-editor-header p{color:#70819a;margin:5px 0 0;font-size:.88rem}.agenda-editor-header>button{color:#637690;cursor:pointer;background:0 0;border:0;margin-left:auto;font-size:28px}.agenda-editor-scroll{overscroll-behavior:contain;grid-template-columns:minmax(0,1.75fr) minmax(270px,1fr);gap:25px;min-height:0;padding:22px 26px;display:grid;overflow:auto}.agenda-editor-main{gap:17px;min-width:0;display:grid}.agenda-editor-main section{gap:10px;min-width:0;display:grid}.agenda-editor-main h3{background:linear-gradient(90deg,#eaf3ff,#f6faff);border-radius:7px;margin:0 0 2px;padding:7px 10px;font-size:.94rem}.agenda-editor-main label{gap:5px;min-width:0;font-size:.84rem;font-weight:600;display:grid}.agenda-editor-main :is(input,textarea,select){color:#243e62;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #cfdcef;border-radius:8px;padding:9px 10px;font-weight:400}.agenda-editor-main textarea{resize:vertical;min-height:75px}.agenda-editor-main label:has(>input[type=checkbox]){align-items:center;gap:8px;display:flex}.agenda-editor-main input[type=checkbox]{accent-color:#1462dd;flex:0 0 17px;width:17px;height:17px;margin:0}.agenda-editor-dates{grid-template-columns:1.3fr 1fr 1fr;gap:10px;display:grid}.agenda-editor-hint{color:#72849d;margin:0;font-size:.77rem}.agenda-invite-chips{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.agenda-invite-chips>span{color:#214a8c;overflow-wrap:anywhere;background:#e8f1ff;border-radius:10px;align-items:center;gap:8px;padding:7px 9px;font-size:.8rem;font-weight:600;display:inline-flex}.agenda-invite-chips>span button{color:#2f69b9;cursor:pointer;background:0 0;border:0;padding:0 3px;font-size:17px}.agenda-invite-add{color:#125cdb;cursor:pointer;background:#fff;border:1px solid #9ebff3;border-radius:8px;padding:6px 11px;font-size:.8rem}.agenda-invite-picker{border:1px solid #cbdaf1;border-radius:12px;padding:10px;box-shadow:0 6px 20px #26456e14}.agenda-invite-picker>div{max-height:210px;margin:7px 0;overflow:auto}.agenda-invite-picker>div>label{cursor:pointer;border-bottom:1px solid #edf2f8;align-items:center;gap:9px;padding:9px 5px;display:flex}.agenda-invite-picker label>span:last-child{overflow-wrap:anywhere;gap:2px;min-width:0;display:grid}.agenda-invite-picker small{color:#72839a;font-size:.73rem;font-weight:400}.agenda-invite-avatar{color:#1b5ab6;background:#dceaff;border-radius:50%;flex:0 0 32px;place-items:center;width:32px;height:32px;font-size:.72rem;font-weight:700;display:grid}.agenda-invite-done{color:#fff;cursor:pointer;background:#155ddb;border:0;border-radius:8px;width:100%;padding:8px}.agenda-more-options summary{color:#2464c4;cursor:pointer;font-size:.84rem;font-weight:600}.agenda-options-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0;display:grid}.agenda-option-check{margin:10px 0;font-weight:400!important}.agenda-invitations-summary{background:linear-gradient(135deg,#f0f7ff,#e3efff);border-radius:16px;align-self:start;padding:20px;font-size:.85rem;position:sticky;top:0}.agenda-invitations-summary h3{margin:0 0 13px;font-size:1.05rem}.agenda-invitations-summary p{color:#4c6687;font-size:.8rem;line-height:1.45}.agenda-invitations-summary>small{color:#687e99;line-height:1.45;display:block}.agenda-invitations-summary hr{border:0;border-top:1px solid #c7d9f0;margin:18px 0}.agenda-invite-count{color:#1b57ae;background:#d3e5ff;border-radius:8px;margin-bottom:12px;padding:6px 9px;display:inline-block}.agenda-invite-recipient{align-items:center;gap:9px;margin:12px 0;display:flex}.agenda-invite-recipient>span:last-child{overflow-wrap:anywhere;gap:3px;min-width:0;display:grid}.agenda-invite-recipient small{color:#667b97;font-size:.75rem}.agenda-invite-info{background:#d9eaff;border-radius:10px;padding:10px}.agenda-invite-warning{color:#a2551a!important}.agenda-editor-footer{border-top:1px solid #e1eaf6;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;padding:16px 26px;display:flex}.agenda-editor-footer>small{color:#627a99;font-size:.78rem}.agenda-editor-footer>div{gap:9px;display:flex}.agenda-editor-footer button{color:#365777;font:inherit;cursor:pointer;background:#fff;border:1px solid #c8d8ee;border-radius:9px;padding:11px 15px;font-size:.84rem;font-weight:600}.agenda-editor-footer button[type=submit]{color:#fff;background:#125cdb;border-color:#125cdb}.agenda-editor-footer>p{color:#af2936;flex-basis:100%;margin:0;font-size:.82rem}.agenda-event-editor button:disabled{opacity:.5;cursor:default}.agenda-event-editor :is(button,input,select,textarea,summary):focus-visible{outline-offset:2px;outline:3px solid #94bbfc}@media (width<=750px){.agenda-editor-overlay{padding:8px}.agenda-event-editor{border-radius:16px;max-height:calc(100dvh - 16px)}.agenda-editor-header{gap:10px;padding:15px}.agenda-editor-header h2{font-size:1.25rem}.agenda-editor-scroll{flex-direction:column;gap:18px;padding:16px;display:flex}.agenda-invitations-summary{position:static}.agenda-editor-footer{padding:12px 15px}.agenda-editor-footer>div{margin-left:auto}.agenda-editor-dates{grid-template-columns:1.1fr 1fr 1fr;gap:6px}.agenda-options-grid{grid-template-columns:1fr}}.agenda-meeting-kind{border:1px solid #dbe6f5;border-radius:14px;flex-wrap:wrap;gap:14px;padding:12px;display:flex}.agenda-meeting-kind legend{font-weight:700}.agenda-meeting-kind label{align-items:center;gap:8px;display:flex}.agenda-meeting-kind input{width:18px;height:18px}.agenda-signature-card{overflow-wrap:anywhere;background:#f7faff;border:1px solid #dbe6f5;border-radius:14px;align-items:center;gap:18px;padding:16px;display:flex}.agenda-signature-card img{object-fit:contain;flex-shrink:0}.agenda-signature-preview .inline-actions{margin:12px 0}.agenda-option-check small{color:#60728b;display:block}@media (width<=600px){.agenda-signature-card{gap:10px;padding:10px;font-size:13px}.agenda-signature-card img{width:60px;height:60px}}.agenda-details{color:#17243b;background:#fff;border-radius:24px;flex-direction:column;width:min(1060px,96vw);max-height:92dvh;display:flex;overflow:hidden;box-shadow:0 22px 70px #13274430}.agenda-details header{align-items:center;gap:20px;padding:24px 28px;display:flex}.agenda-details header>div{flex:1;min-width:0}.agenda-details header h2{overflow-wrap:anywhere;margin:6px 0;font-size:26px}.agenda-details header p{color:#60728b;margin:0}.agenda-details header small{color:#1255aa;font-weight:800}.agenda-details header>button{align-self:flex-start}.agenda-details-icon{color:#fff;background:#0659e8;border-radius:18px;padding:14px 20px;font-size:32px}.agenda-details-scroll{padding:0 28px 20px;overflow:auto}.agenda-details-date{background:#e6f0ff;border-radius:16px;align-items:center;gap:18px;margin-bottom:18px;padding:20px;display:flex}.agenda-details-date>span:first-child{font-size:30px}.agenda-details-date>div{flex:1}.agenda-details-date strong{text-transform:capitalize;font-size:21px}.agenda-details-date p{margin:6px 0 0}.agenda-details-columns{grid-template-columns:1.15fr 1fr;gap:18px;display:grid}.agenda-details-columns>div>section,.agenda-details-participants{border:1px solid #dbe5f4;border-radius:16px;margin-bottom:14px;padding:18px}.agenda-details h3{margin:0 0 14px;font-size:18px}.agenda-details p{line-height:1.5}.agenda-details-routes{flex-wrap:wrap;gap:8px;display:flex}.agenda-details-routes a{color:#0659e8;border:1px solid #b9d2fa;border-radius:10px;padding:8px 10px;text-decoration:none}.agenda-details-context>div{flex-wrap:wrap;justify-content:space-between;gap:12px;padding:8px 0;display:flex}.agenda-details-person{border-bottom:1px solid #e4ebf5;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 0;display:flex}.agenda-details-person>div{flex:1;min-width:110px}.agenda-details-person small{color:#60728b;margin-top:4px;display:block}.agenda-reply-badge{color:#52647d;white-space:normal;background:#edf2f8;border-radius:9px;padding:5px 9px;font-size:12px;display:inline-block}.reply-accepted{color:#16734a;background:#e4f7ed}.reply-declined{color:#b52626;background:#ffebeb}.reply-tentative{color:#8d6100;background:#fff5db}.agenda-details-sync{background:#f1f5fb;border-radius:10px;padding:10px;font-size:12px}.agenda-details-participants>small{color:#60728b}.agenda-details footer{border-top:1px solid #dbe5f4;justify-content:space-between;align-items:center;gap:14px;padding:18px 28px;display:flex}.agenda-details footer>small{color:#60728b;max-width:270px;font-size:12px}.agenda-details footer>div{flex-wrap:wrap;gap:10px;display:flex}.agenda-details .agenda-cancel{color:#ba2929;background:#fff;border:1px solid #e6b2b2}.agenda-details .primary{color:#fff;background:#0659e8}.agenda-details-documents .document-compact-card{margin:0}.agenda-details button{cursor:pointer}.agenda-details footer button{border-radius:12px;padding:11px 13px}.agenda-details button:disabled{opacity:.55;cursor:wait}@media (width<=650px){.agenda-details{border-radius:18px;width:98vw;max-height:96dvh}.agenda-details header{gap:10px;padding:16px}.agenda-details header h2{font-size:21px}.agenda-details-icon{padding:8px 12px;font-size:24px}.agenda-details-scroll{padding:0 14px 12px}.agenda-details-columns{grid-template-columns:1fr;gap:0}.agenda-details-date{flex-wrap:wrap;gap:10px;padding:14px}.agenda-details-date strong{font-size:17px}.agenda-details footer{padding:12px;display:block}.agenda-details footer>small{margin-bottom:9px;display:block}.agenda-details footer>div{gap:6px}.agenda-details footer button{padding:10px;font-size:12px}.agenda-details-person{gap:8px}}.prospection{max-width:1400px;margin:auto}.prospection input,.prospection select,.prospection textarea{color:#17243b;background:#fff;border:1px solid #cbd9eb;border-radius:10px;width:100%;padding:11px}.prospection label{gap:6px;font-size:14px;display:grid}.prospection textarea{min-height:100px}.prospect-panel{background:#fff;border:1px solid #d9e5f4;border-radius:16px;margin:18px 0;padding:20px}.prospect-panel h3{color:#173963;margin-top:0}.prospect-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.prospect-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.prospect-panel .prospect-grid{margin-bottom:14px}.prospect-trades{flex-wrap:wrap;gap:10px;margin:15px 0;display:flex}.prospect-trades label,.prospect-check,.prospect-address label{background:#f7faff;border:1px solid #dbe6f3;border-radius:10px;align-items:center;gap:9px;padding:10px 12px;display:flex!important}.prospection input[type=checkbox],.prospection input[type=radio]{flex-shrink:0;width:18px;height:18px}.prospect-address{border:0;flex-wrap:wrap;gap:16px;padding:16px 0;display:flex}.prospect-address legend{font-weight:700}.prospect-hint{color:#61728a;font-size:13px;line-height:1.5}.prospect-notice{color:#174b80;background:#edf6ff;border-radius:12px;padding:12px 16px}.prospect-error{color:#a51e1e;background:#fff0f0;border-radius:12px;padding:14px}.prospect-actions{z-index:3;background:#fff;border-top:1px solid #dbe6f3;justify-content:flex-end;gap:12px;padding:18px;display:flex;position:sticky;bottom:0}.prospect-tabs{flex-wrap:wrap;gap:10px;margin:15px 0;display:flex}.prospect-list-item{text-align:left;color:#17243b;background:#fff;border:1px solid #dbe6f3;border-radius:14px;grid-template-columns:2fr 1.3fr 1fr 1fr;align-items:center;gap:14px;width:100%;margin:10px 0;padding:18px;display:grid}.prospect-badge{color:#1255aa;background:#e7f1ff;border-radius:20px;padding:6px 11px;font-size:12px;display:inline-block}.prospect-matches{background:#f4f8ff;border:1px solid #b8d3f7;border-radius:12px;padding:10px}.prospect-matches button{text-align:left;color:#164372;background:#fff;width:100%;margin:5px 0;display:block}.prospection small{color:#64748b;display:block}.prospect-candidate{border:1px solid #dbe6f3;border-radius:12px;align-items:center;gap:12px;margin:9px 0;padding:14px;display:flex!important}.prospect-candidate>span{flex:1}.prospect-person{border-bottom:1px solid #e2eaf4;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:12px 0;display:flex}.prospection details{margin:12px 0}.prospection summary{cursor:pointer;padding:10px 0;font-weight:700}.prospection pre{white-space:pre-wrap;overflow-wrap:anywhere}.prospect-notifications{align-self:center;position:relative}.prospect-notifications>button{color:#1255aa;background:#f5f9ff;border:1px solid #d2e2f9;border-radius:50%;width:46px;height:46px;padding:0;font-size:23px;position:relative}.prospect-notifications b{color:#fff;background:#e84646;border-radius:15px;padding:3px 5px;font-size:11px;position:absolute;top:-5px;right:-4px}.prospect-notification-menu{z-index:1000;color:#17243b;background:#fff;border:1px solid #d0def1;border-radius:16px;width:min(380px,88vw);max-height:480px;padding:16px;position:absolute;top:52px;right:0;overflow:auto;box-shadow:0 15px 45px #182b4d30}.prospect-notification-menu>button:not(:nth-child(2)){text-align:left;color:#173963;background:#eef5ff;border-radius:10px;width:100%;margin:8px 0;padding:12px;display:block}.prospect-notification-menu button.is-read{background:#fff!important}.prospect-notification-menu small{color:#61728a;margin-top:5px;display:block}.prospect-notification-menu>button:nth-child(2){float:right}.prospection table{border-collapse:collapse;width:100%}.prospection th,.prospection td{border-bottom:1px solid #dbe6f3;padding:10px}@media (width<=700px){.prospect-fields,.prospect-grid{grid-template-columns:1fr}.prospect-panel{padding:14px}.prospect-list-item{grid-template-columns:1fr;gap:7px}.prospect-actions{padding:12px 5px}.prospect-actions button{font-size:13px}.prospect-notifications{margin:8px}.prospect-notification-menu{right:-30px}.prospection .detail-header{display:block}}.header-right-zone{justify-content:flex-end;align-items:flex-start;gap:12px;min-width:0;display:flex}.header-right-zone .prospect-notifications{align-self:flex-start}.app-header .main-nav{flex-wrap:wrap!important}@media (width<=700px){.app-header{position:relative}.header-right-zone{position:absolute;top:15px;right:62px}.prospect-notification-menu{right:-48px}}.admin-prospection-shortcut{background:#f3f8ff;border:1px solid #c9ddf9;border-radius:12px;justify-content:space-between;align-items:center;gap:20px;margin:18px 0;padding:16px 20px;display:flex}.admin-prospection-shortcut strong{color:#214b7c;font-size:17px}.admin-prospection-shortcut p{color:#627999;margin:5px 0 0;font-size:13px}.admin-tabs.crm-status-segmented{box-sizing:border-box;flex-wrap:wrap!important;overflow:visible!important}.admin-tabs .admin-tab{white-space:normal;flex:0 auto!important}.prospect-notification-error{color:#a33628;padding:12px;font-size:13px}.prospect-notification-empty{color:#62748d;font-size:13px;line-height:1.6}@media (width<=700px){.admin-prospection-shortcut{display:block}.admin-prospection-shortcut button{margin-top:12px}}.prospect-permissions-table{max-width:100%;overflow-x:auto}.prospect-permissions-table table{width:100%;min-width:650px}.prospection fieldset{min-width:0}.prospection .prospect-trades small{overflow-wrap:anywhere}.projets-page-heading,.clients-page-heading,.artisans-page-heading,.documents-page-heading,.suivi-page-heading{margin:0 0 18px!important}.projets-title-line,.clients-title-line,.artisans-title-line,.documents-title-line,.suivi-title-line{color:#0f172a!important;letter-spacing:-.035em!important;flex-wrap:wrap!important;align-items:center!important;gap:10px 14px!important;margin:0!important;font-size:clamp(1.42rem,1.1rem + .9vw,2rem)!important;font-weight:950!important;line-height:1.12!important;display:flex!important}.projets-title-subtitle,.clients-title-subtitle,.artisans-title-subtitle,.documents-title-subtitle,.suivi-title-subtitle,.projets-title-line .section-intro,.clients-title-line .section-intro,.artisans-title-line .section-intro,.documents-title-line .section-intro,.suivi-title-line .section-intro{color:#64748b!important;letter-spacing:-.018em!important;margin:0!important;font-size:clamp(1rem,.92rem + .28vw,1.18rem)!important;font-weight:800!important;line-height:1.15!important}.projets-title-count,.clients-title-count,.artisans-title-count,.documents-title-count,.suivi-title-count{color:#0b57d0!important;background:linear-gradient(#eff6ff 0%,#eaf4ff 100%)!important;border:1px solid #bfdbfe!important;border-radius:999px!important;align-items:center!important;gap:7px!important;min-height:34px!important;padding:5px 12px!important;font-size:.93rem!important;font-weight:950!important;display:inline-flex!important;box-shadow:0 8px 18px #2563eb1a!important}.projets-title-count:before,.clients-title-count:before,.artisans-title-count:before,.documents-title-count:before,.suivi-title-count:before{content:"";background:#22c55e;border-radius:999px;width:12px;height:12px;box-shadow:0 0 0 6px #22c55e21}.crm-toolbar,.clients-toolbar,.artisans-toolbar,.documents-toolbar,.suivi-toolbar{background:linear-gradient(#fff 0%,#f8fbff 100%)!important;border:1px solid #dbeafe!important;border-radius:18px!important;justify-content:space-between!important;align-items:center!important;gap:14px!important;width:100%!important;margin:0 0 16px!important;padding:14px!important;display:flex!important;box-shadow:0 10px 24px #0f172a0a!important}.crm-search-input,.clients-search-input,.artisans-search-input,.suivi-search-input{color:#0f172a!important;background:#fff!important;border:1px solid #d7e1ee!important;border-radius:14px!important;min-height:50px!important;font-size:1rem!important;font-weight:500!important}.crm-status-segmented,.clients-status-segmented,.artisans-status-segmented,.projets-status-segmented{background:#eff6ff!important;border:1px solid #bfdbfe!important;border-radius:999px!important;align-items:center!important;gap:8px!important;min-height:58px!important;padding:6px!important;display:inline-flex!important;box-shadow:inset 0 0 0 1px #ffffffbf,0 12px 24px #2563eb14!important}.crm-segment,.clients-status-segmented button,.artisans-status-segmented button,.projets-status-chip{color:#1f2937!important;min-height:44px!important;box-shadow:none!important;background:#ffffffc2!important;border:0!important;border-radius:999px!important;justify-content:center!important;align-items:center!important;gap:8px!important;padding:10px 18px!important;font-size:.98rem!important;font-weight:900!important;display:inline-flex!important}.crm-segment.is-active,.clients-status-segmented button.is-active,.artisans-status-segmented button.is-active,.projets-status-chip.is-active{color:#fff!important;background:linear-gradient(135deg,#1d4ed8 0%,#0ea5e9 100%)!important;box-shadow:0 10px 24px #2563eb38!important}.projets-kpi-bar,.suivi-kpi-grid,.crm-kpi-bar{grid-template-columns:repeat(auto-fit,minmax(146px,max-content))!important;justify-content:start!important;align-items:stretch!important;gap:10px!important;margin:0 0 18px!important;display:grid!important}.projets-kpi-card,.projets-kpi-reset,.suivi-kpi-tile,.crm-kpi-tile{color:#334155!important;background:linear-gradient(#fff 0%,#f8fbff 100%)!important;border:1px solid #dbeafe!important;border-radius:16px!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;min-width:146px!important;height:58px!important;min-height:58px!important;padding:10px 14px 10px 18px!important;font-size:.95rem!important;font-weight:950!important;display:inline-flex!important;position:relative!important;overflow:hidden!important;box-shadow:0 10px 24px #0f172a0d!important}.projets-kpi-card:before,.suivi-kpi-tile:before,.crm-kpi-tile:before{content:""!important;background:#2563eb!important;border-radius:16px 0 0 16px!important;width:6px!important;position:absolute!important;inset:0 auto 0 0!important}.projets-kpi-card span,.suivi-kpi-tile span,.crm-kpi-tile span{text-overflow:ellipsis!important;white-space:nowrap!important;color:#64748b!important;letter-spacing:.02em!important;text-transform:uppercase!important;min-width:0!important;font-size:.88rem!important;font-weight:950!important;overflow:hidden!important}.projets-kpi-card strong,.suivi-kpi-tile strong,.crm-kpi-tile strong{color:#0f172a!important;letter-spacing:-.04em!important;flex:none!important;font-size:1.36rem!important;font-weight:950!important}.projets-kpi-card.is-active,.projets-kpi-reset.is-active,.suivi-kpi-tile.is-active,.crm-kpi-tile.is-active{background:#eff6ff!important;border-color:#93c5fd!important;transform:translateY(-2px)!important;box-shadow:0 14px 30px #2563eb1f!important}.projets-sort-strip,.clients-sort-strip,.artisans-sort-strip,.suivi-sort-strip,.documents-sort-strip{background:linear-gradient(#fff 0%,#fbfdff 100%)!important;border:1px solid #dbeafe!important;border-radius:18px!important;flex-wrap:wrap!important;align-items:center!important;gap:9px!important;width:100%!important;margin:0 0 14px!important;padding:12px 14px!important;display:flex!important;box-shadow:0 8px 18px #0f172a09!important}.projets-sort-strip>span:first-child,.clients-sort-strip>span:first-child,.artisans-sort-strip>span:first-child,.suivi-sort-strip>span:first-child,.documents-sort-strip>span:first-child{color:#64748b!important;letter-spacing:.05em!important;text-transform:uppercase!important;margin-right:4px!important;font-size:.86rem!important;font-weight:950!important}.projets-sort-strip button,.clients-sort-strip button,.artisans-sort-strip button,.suivi-sort-strip button,.documents-sort-strip button{color:#334155!important;min-height:34px!important;box-shadow:none!important;background:#fff!important;border:1px solid #d7e1ee!important;border-radius:999px!important;padding:7px 13px!important;font-size:.86rem!important;font-weight:900!important}.documents-storage-card{background:linear-gradient(#fff 0%,#f8fbff 100%)!important;border:1px solid #dbeafe!important;border-radius:20px!important;box-shadow:0 12px 28px #0f172a0d!important}.documents-storage-tiles>div{background:linear-gradient(#fff 0%,#fbfdff 100%)!important;border:1px solid #dbeafe!important;border-radius:16px!important;min-height:76px!important}@media (width<=1100px){.crm-toolbar,.clients-toolbar,.artisans-toolbar,.documents-toolbar,.suivi-toolbar{flex-direction:column!important;align-items:stretch!important}}@media (width<=720px){.projets-title-line,.clients-title-line,.artisans-title-line,.documents-title-line,.suivi-title-line{flex-direction:column!important;align-items:flex-start!important}}.projets-title-line,.clients-title-line,.artisans-title-line,.documents-title-line,.suivi-title-line{align-items:baseline!important;gap:8px 12px!important;font-size:clamp(1.36rem,1.08rem + .7vw,1.78rem)!important;line-height:1.08!important}.projets-title-subtitle,.clients-title-subtitle,.artisans-title-subtitle,.documents-title-subtitle,.suivi-title-subtitle,.projets-title-line .section-intro,.clients-title-line .section-intro,.artisans-title-line .section-intro,.documents-title-line .section-intro,.suivi-title-line .section-intro{font-size:clamp(.94rem,.88rem + .14vw,1.02rem)!important;line-height:1!important;transform:translateY(0)!important}.projets-title-count,.clients-title-count,.artisans-title-count,.documents-title-count,.suivi-title-count{align-self:center!important;min-height:30px!important;padding:4px 11px!important;font-size:.9rem!important;transform:translateY(-2px)!important}.crm-status-segmented,.clients-status-segmented,.artisans-status-segmented,.projets-status-segmented{min-height:50px!important}.crm-segment,.clients-status-segmented button,.artisans-status-segmented button,.projets-status-chip{gap:14px!important;min-height:36px!important;padding:7px 17px 7px 22px!important;font-size:.92rem!important}.projets-status-chip:before,.crm-segment:before{flex:none!important;margin-right:3px!important;position:static!important;transform:none!important}.projets-kpi-bar,.suivi-kpi-grid,.crm-kpi-bar{flex-wrap:wrap!important;justify-content:flex-start!important;align-items:stretch!important;gap:8px!important;display:flex!important}.projets-kpi-card,.projets-kpi-reset,.suivi-kpi-tile,.crm-kpi-tile{border-radius:12px!important;min-width:104px!important;height:38px!important;min-height:38px!important;padding:6px 10px 6px 14px!important;font-size:.8rem!important}.projets-kpi-card span,.suivi-kpi-tile span,.crm-kpi-tile span{text-overflow:ellipsis!important;white-space:nowrap!important;letter-spacing:.005em!important;font-size:.72rem!important;overflow:hidden!important}.projets-kpi-card strong,.suivi-kpi-tile strong,.crm-kpi-tile strong{font-size:1.04rem!important}.projets-kpi-card.is-todo:before,.projets-kpi-card:first-child:before{background:#f97316!important}.projets-kpi-card.is-follow:before,.projets-kpi-card:nth-child(2):before{background:#2563eb!important}.projets-kpi-card.is-late:before,.projets-kpi-card:nth-child(3):before{background:#dc2626!important}.projets-kpi-card.is-relaunch:before,.projets-kpi-card:nth-child(4):before{background:#f97316!important}.projets-kpi-card.is-quotes:before,.projets-kpi-card:nth-child(5):before{background:#2563eb!important}.projets-kpi-card.is-idle:before,.projets-kpi-card:nth-child(6):before{background:#94a3b8!important}.suivi-kpi-tile.is-orange:before{background:#f97316!important}.suivi-kpi-tile.is-blue:before,.suivi-kpi-tile.is-cyan:before{background:#2563eb!important}.suivi-kpi-tile.is-red:before{background:#dc2626!important}.suivi-kpi-tile.is-purple:before{background:#7c3aed!important}.suivi-kpi-tile.is-green:before{background:#16a34a!important}.suivi-kpi-tile.is-neutral:before{background:#64748b!important}.projets-sort-strip button.is-active,.clients-sort-strip button.is-active,.artisans-sort-strip button.is-active,.suivi-sort-strip button.is-active,.documents-sort-strip button.is-active{color:#1d4ed8!important;background:#eff6ff!important;border-color:#93c5fd!important;box-shadow:0 8px 16px #2563eb1a!important}.crm-list-card>h2,.crm-list-card>.detail-header h2,.home-shell .card>h2{color:#0f172a!important;letter-spacing:-.035em!important;margin:0!important;font-size:clamp(1.36rem,1.08rem + .7vw,1.78rem)!important;font-weight:950!important;line-height:1.08!important}.crm-list-card>.section-intro,.crm-list-card>.detail-header .section-intro,.home-shell .card>.section-intro{color:#64748b!important;margin:7px 0 16px!important;font-size:clamp(.94rem,.88rem + .14vw,1.02rem)!important;font-weight:800!important;line-height:1.2!important}.crm-list-card>.detail-header{justify-content:space-between!important;align-items:center!important;gap:16px!important;margin:0 0 16px!important;display:flex!important}.crm-list-card>.detail-header .detail-actions{flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;display:flex!important}.admin-tabs.crm-status-segmented,.agenda-summary-tabs{background:#eff6ff!important;border:1px solid #bfdbfe!important;border-radius:18px!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important;width:100%!important;min-height:50px!important;padding:6px!important;box-shadow:inset 0 0 0 1px #ffffffbf,0 12px 24px #2563eb14!important}.admin-tab.crm-segment,.agenda-summary-tab{color:#1f2937!important;min-height:36px!important;box-shadow:none!important;background:#ffffffc7!important;border:0!important;border-radius:999px!important;padding:7px 16px!important;font-size:.9rem!important;font-weight:900!important}.admin-tab.crm-segment.is-active,.agenda-summary-tab.is-active{color:#fff!important;background:linear-gradient(135deg,#1d4ed8 0%,#0ea5e9 100%)!important;box-shadow:0 10px 24px #2563eb38!important}.home-shell>.card:first-child{background:linear-gradient(#fff 0%,#f8fbff 100%)!important;border:1px solid #dbeafe!important;border-radius:20px!important;box-shadow:0 12px 28px #0f172a0d!important}.home-feature-grid.crm-kpi-grid{flex-wrap:wrap!important;align-items:stretch!important;gap:8px!important;margin-top:10px!important;display:flex!important}.home-feature-card.kpi-clickable{background:linear-gradient(#fff 0%,#f8fbff 100%)!important;border:1px solid #dbeafe!important;border-radius:14px!important;min-width:150px!important;min-height:54px!important;padding:10px 14px 10px 18px!important;position:relative!important;box-shadow:0 10px 22px #0f172a0b!important}.home-feature-card.kpi-clickable:before{content:""!important;background:#2563eb!important;border-radius:14px 0 0 14px!important;width:5px!important;position:absolute!important;inset:0 auto 0 0!important}.home-feature-card.kpi-clickable:nth-child(2):before,.home-feature-card.kpi-clickable:nth-child(4):before{background:#dc2626!important}.home-feature-card.kpi-clickable:nth-child(3):before{background:#f97316!important}.home-feature-card.kpi-clickable:nth-child(5):before{background:#16a34a!important}.home-feature-card.kpi-clickable h3{color:#64748b!important;letter-spacing:.015em!important;text-transform:uppercase!important;margin:0 0 6px!important;font-size:.78rem!important;font-weight:950!important}.home-feature-card.kpi-clickable p{color:#0f172a!important;letter-spacing:-.035em!important;margin:0!important;font-size:1.08rem!important;font-weight:950!important}.home-feature-card.kpi-clickable.kpi-active{background:#eff6ff!important;border-color:#93c5fd!important;box-shadow:0 14px 30px #2563eb1f!important}.crm-list-card .detail-block,.crm-list-card .admin-diagnostic-block,.home-shell .card,.agenda-day-column,.agenda-month-cell,.agenda-event-card,.agenda-popup-card{border-color:#dbeafe!important;border-radius:16px!important;box-shadow:0 10px 22px #0f172a0a!important}.agenda-day-title,.crm-list-card h3,.home-shell h3{color:#0f172a!important;letter-spacing:-.02em!important;font-weight:900!important}.app-header{background:linear-gradient(#fff 0%,#f8fbff 100%)!important;border:1px solid #dbeafe!important;border-radius:20px!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:18px!important;margin:0 0 22px!important;padding:18px 22px!important;display:grid!important;box-shadow:0 16px 36px #0f172a11!important}.header-left-zone{grid-template-columns:auto minmax(320px,1fr)!important;grid-template-areas:"brand search""brand nav"!important;align-items:center!important;gap:12px clamp(18px,3vw,36px)!important;min-width:0!important;display:grid!important}.brand-header{grid-area:brand!important;align-items:center!important;gap:14px!important;min-width:0!important;display:flex!important}.brand-logo-wrap{background:#fff!important;border:1px solid #eef2ff!important;border-radius:18px!important;flex:none!important;place-items:center!important;width:112px!important;height:112px!important;padding:8px!important;display:grid!important;box-shadow:0 12px 30px #0f172a14!important}.brand-logo{object-fit:contain!important;width:100%!important;height:100%!important}.brand-header h1{color:#0f172a!important;letter-spacing:-.055em!important;white-space:nowrap!important;margin:0!important;font-size:clamp(1.55rem,1.05rem + 1.75vw,2.85rem)!important;font-weight:950!important;line-height:.96!important}.header-subtitle{color:#475569!important;margin:7px 0 0!important;font-size:clamp(.9rem,.82rem + .22vw,1.05rem)!important;font-weight:700!important;line-height:1.1!important}.header-left-zone>div[style*="position: relative"]{grid-area:search!important;justify-self:center!important;width:min(100%,540px)!important;min-width:260px!important}.header-left-zone>div[style*="position: relative"] .crm-search-input{background:#ffffffeb!important;border-color:#bfdbfe!important;border-radius:999px!important;width:100%!important;height:40px!important;padding:8px 18px!important;font-size:.94rem!important;font-weight:600!important;box-shadow:inset 0 0 0 1px #ffffffa6,0 10px 22px #0f172a09!important}.main-nav{flex-wrap:wrap!important;grid-area:nav!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important;min-width:0!important;display:flex!important}.main-nav .nav-button{color:#0f172a!important;background:#ffffffdb!important;border-color:#bfdbfe!important;border-radius:999px!important;min-height:34px!important;padding:6px 13px!important;font-size:clamp(.82rem,.78rem + .12vw,.95rem)!important;font-weight:900!important;box-shadow:0 8px 18px #0f172a09!important}.main-nav .nav-button.active{color:#fff!important;background:linear-gradient(135deg,#1d4ed8 0%,#0ea5e9 100%)!important;border-color:#0ea5e9!important;box-shadow:0 12px 26px #2563eb38!important}.header-user-block{flex-direction:column!important;justify-content:center!important;align-items:flex-end!important;gap:9px!important;min-width:190px!important;display:flex!important}.header-profile-button{color:#475569!important;width:auto!important;max-width:260px!important;box-shadow:none!important;white-space:nowrap!important;background:0 0!important;border:0!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;padding:0!important;font-size:.9rem!important;font-weight:800!important;display:inline-flex!important}.header-profile-button.is-active,.header-profile-button:hover{color:#1d4ed8!important}.header-profile-icon{background:#eff6ff!important;border:1px solid #bfdbfe!important;border-radius:999px!important;flex:none!important;place-items:center!important;width:26px!important;height:26px!important;font-size:.86rem!important;display:inline-grid!important}.header-user-block .nav-button-logout{color:#9a3412!important;background:#fff7ed!important;border-color:#fed7aa!important;border-radius:999px!important;min-height:36px!important;padding:7px 18px!important;font-weight:900!important;box-shadow:0 10px 22px #f9731614!important}.header-user-block .nav-button-logout:hover{background:#ffedd5!important;border-color:#fb923c!important}.mobile-menu-toggle{border-radius:999px!important;grid-area:nav!important;justify-self:end!important}@media (width<=1100px){.app-header{grid-template-columns:1fr!important}.header-user-block{flex-direction:row!important;justify-content:space-between!important;align-items:center!important;width:100%!important}.header-left-zone{grid-template-columns:auto minmax(0,1fr)!important}}@media (width<=760px){.app-header{border-radius:18px!important;padding:14px!important}.header-left-zone{grid-template-columns:1fr!important;grid-template-areas:"brand""search""nav"!important}.brand-logo-wrap{width:82px!important;height:82px!important}.brand-header h1{white-space:normal!important}.header-left-zone>div[style*="position: relative"]{justify-self:stretch!important;min-width:0!important}.main-nav{gap:6px!important}.header-user-block{flex-direction:column!important;align-items:stretch!important}.header-profile-button,.header-user-block .nav-button-logout{justify-content:center!important;width:100%!important;max-width:none!important}}@media (width<=900px){.crm-list-card>.detail-header{flex-direction:column!important;align-items:flex-start!important}.home-feature-card.kpi-clickable{flex:160px!important}}.header-user-block-mobile{display:none!important}@media (width<=900px){.app-header{border-radius:16px!important;width:100%!important;max-width:100%!important;margin:0 0 12px!important;padding:10px 12px!important;display:block!important;overflow:visible!important}.header-left-zone{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand toggle""search search""nav nav"!important;align-items:center!important;gap:8px 10px!important;width:100%!important;min-width:0!important;display:grid!important}.brand-header{grid-area:brand!important;align-items:center!important;gap:9px!important;min-width:0!important;display:flex!important}.brand-logo-wrap{border-radius:12px!important;flex:none!important;width:46px!important;height:46px!important;padding:4px!important}.brand-logo{object-fit:contain!important;width:100%!important;max-width:none!important;height:100%!important}.brand-title-block,.brand-header>div:last-child{min-width:0!important}.brand-header h1{letter-spacing:-.025em!important;white-space:normal!important;margin:0!important;font-size:1.08rem!important;line-height:1.05!important}.header-subtitle{margin:2px 0 0!important;font-size:.78rem!important;line-height:1.1!important}.mobile-menu-toggle{color:#1d4ed8!important;background:#eff6ff!important;border:1px solid #bfdbfe!important;border-radius:12px!important;grid-area:toggle!important;justify-content:center!important;justify-self:end!important;align-items:center!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:38px!important;min-height:38px!important;padding:0!important;font-size:1.35rem!important;font-weight:900!important;line-height:1!important;display:inline-flex!important;box-shadow:0 8px 18px #0f172a0f!important}.mobile-menu-toggle:focus-visible{outline-offset:2px!important;outline:3px solid #2563eb59!important}.header-left-zone>div[style*="position: relative"]{z-index:20!important;grid-area:search!important;justify-self:stretch!important;width:100%!important;min-width:0!important;max-width:none!important}.header-left-zone>div[style*="position: relative"] .crm-search-input,.app-header .crm-search-input{border-radius:12px!important;width:100%!important;min-width:0!important;height:38px!important;min-height:38px!important;padding:7px 12px!important;font-size:.88rem!important}.main-nav{border-top:1px solid #e2e8f0!important;flex-wrap:nowrap!important;grid-area:nav!important;gap:6px!important;width:100%!important;min-width:0!important;margin:2px 0 0!important;padding:8px 0 0!important;display:none!important}.main-nav.is-open{grid-template-columns:1fr!important;display:grid!important}.main-nav .nav-button{text-align:left!important;width:100%!important;min-width:0!important;min-height:36px!important;box-shadow:none!important;border-radius:12px!important;justify-content:flex-start!important;padding:7px 12px!important;font-size:.9rem!important}.main-nav .nav-button.active{box-shadow:0 8px 18px #2563eb2e!important}.header-user-block-desktop{display:none!important}.header-user-block-mobile{border-top:1px solid #e2e8f0!important;align-items:stretch!important;gap:6px!important;width:100%!important;min-width:0!important;margin:4px 0 0!important;padding:8px 0 0!important;display:grid!important}.header-user-block-mobile .header-profile-button{white-space:normal!important;justify-content:flex-start!important;width:100%!important;max-width:none!important;padding:5px 2px!important;font-size:.84rem!important;line-height:1.2!important}.header-user-block-mobile .header-profile-icon{width:24px!important;height:24px!important}.header-user-block-mobile .nav-button-logout{border-radius:12px!important;justify-self:start!important;width:auto!important;min-height:34px!important;padding:7px 12px!important;font-size:.86rem!important}}.projet-compact-card,.client-compact-card,.artisan-compact-card,.document-compact-card,.documents-compact-card,.document-card,.suivi-compact-card,.suivi-action-card{background:linear-gradient(#fff 0%,#fbfdff 100%)!important;border:1px solid #dbeafe!important;border-radius:17px!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:18px!important;width:100%!important;min-width:0!important;min-height:82px!important;padding:12px 16px 12px 20px!important;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s!important;display:grid!important;position:relative!important;overflow:hidden!important;box-shadow:0 10px 24px #0f172a0b!important}.document-card{grid-template-columns:auto minmax(0,1fr) auto!important}.projet-compact-card:hover,.projet-compact-card:focus-visible,.client-compact-card:hover,.client-compact-card:focus-visible,.artisan-compact-card:hover,.artisan-compact-card:focus-visible,.document-compact-card:hover,.document-compact-card:focus-visible,.documents-compact-card:hover,.documents-compact-card:focus-visible,.document-card:hover,.document-card:focus-visible,.suivi-compact-card:hover,.suivi-compact-card:focus-visible,.suivi-action-card:hover,.suivi-action-card:focus-visible{background:linear-gradient(#fff 0%,#f7fbff 100%)!important;border-color:#bfdbfe!important;outline:none!important;transform:translateY(-1px)!important;box-shadow:0 14px 30px #2563eb13!important}.projet-compact-main,.client-compact-main,.artisan-compact-main,.document-compact-main,.documents-compact-main,.document-card-main,.suivi-compact-main,.suivi-action-main{gap:6px!important;min-width:0!important;display:grid!important}.projet-compact-title-row,.client-compact-title-row,.artisan-compact-title-row,.artisan-title-row,.document-compact-title-row,.documents-compact-title-row,.suivi-compact-title-row,.suivi-action-title-row{flex-wrap:wrap!important;align-items:center!important;gap:8px 12px!important;min-width:0!important;display:flex!important}.projet-compact-title,.client-compact-title,.artisan-compact-title,.document-compact-title,.documents-compact-title,.document-card-main>strong,.suivi-compact-title,.suivi-action-title{color:#0f172a!important;letter-spacing:-.02em!important;text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important;font-size:clamp(.88rem,.82rem + .18vw,1rem)!important;font-weight:900!important;line-height:1.15!important;overflow:hidden!important}.projet-compact-meta,.client-compact-meta,.artisan-compact-meta,.document-compact-meta,.documents-compact-meta,.document-card-main>span,.suivi-compact-meta,.suivi-action-meta,.projet-compact-next-actions,.client-compact-extra,.client-compact-progress,.artisan-compact-extra,.artisan-card-progress,.document-compact-context,.documents-compact-context,.suivi-compact-dates,.suivi-action-dates{color:#64748b!important;letter-spacing:-.01em!important;text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important;font-size:clamp(.82rem,.76rem + .16vw,.92rem)!important;font-weight:500!important;line-height:1.25!important;overflow:hidden!important}.client-compact-progress,.artisan-card-progress{color:#0f172a!important;margin:0!important;font-weight:700!important}.client-compact-progress-button,.artisan-inline-action{color:#0f172a!important;font:inherit!important;text-align:left!important;cursor:pointer!important;background:0 0!important;border:0!important;padding:0!important;font-weight:800!important}.client-compact-progress-button:hover,.artisan-inline-action:hover{color:#0b57d0!important;text-decoration:underline!important}.projet-compact-meta a,.client-compact-meta a,.artisan-compact-meta a,.document-compact-meta a,.documents-compact-meta a,.document-card-main a,.suivi-compact-meta a,.suivi-action-meta a{color:#0b57d0!important;font-weight:850!important;text-decoration:none!important}.projet-progress-badges,.client-compact-badges,.client-progress-badges,.artisan-compact-badges,.artisan-progress-badges,.document-compact-badges,.documents-compact-badges,.suivi-compact-badges,.suivi-action-badges{flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;gap:7px!important;margin-top:2px!important;display:flex!important}.projet-progress-badges>span,.client-compact-badges>span,.client-progress-badges>span,.artisan-compact-badges>span,.artisan-progress-badges>span,.document-compact-badges>span,.documents-compact-badges>span,.suivi-compact-badges>span,.suivi-action-badges>span,.projet-attention-badge,.status-chip,.client-info-badge{color:#334155!important;white-space:nowrap!important;background:#f8fbff!important;border:1px solid #dbeafe!important;border-radius:999px!important;align-items:center!important;gap:6px!important;min-height:23px!important;padding:3px 8px!important;font-size:.74rem!important;font-weight:850!important;line-height:1!important;display:inline-flex!important}.client-info-badge.warning{color:#9a3412!important;background:#fff7ed!important;border-color:#fed7aa!important}.projet-compact-side,.client-compact-side,.artisan-compact-side,.document-compact-side,.documents-compact-side,.document-actions,.suivi-compact-side,.suivi-action-side{align-content:center!important;justify-items:end!important;gap:10px!important;min-width:150px!important;display:grid!important}.projet-compact-actions,.client-compact-actions,.artisan-compact-actions,.document-compact-actions,.documents-compact-actions,.document-actions,.suivi-compact-actions,.suivi-action-actions,.row-actions,.inline-actions{flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;gap:7px!important;display:flex!important}.projet-action-btn,.client-action-btn,.artisan-action-btn,.document-action-btn,.documents-action-btn,.document-action-icon,.suivi-action-btn,.icon-btn{color:#174ea6!important;background:linear-gradient(#fff 0%,#f8fbff 100%)!important;border:1px solid #dbeafe!important;border-radius:12px!important;place-items:center!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;display:inline-grid!important;box-shadow:0 8px 18px #0f172a0a!important}.projet-action-btn:hover,.client-action-btn:hover,.artisan-action-btn:hover,.document-action-btn:hover,.documents-action-btn:hover,.document-action-icon:hover,.suivi-action-btn:hover,.icon-btn:hover{background:#eff6ff!important;border-color:#93c5fd!important;transform:translateY(-1px)!important;box-shadow:0 12px 22px #2563eb1f!important}.document-action-icon.is-danger{color:#dc2626!important;background:#fff7f7!important;border-color:#fecaca!important}.document-action-icon.is-danger:hover{background:#fee2e2!important;border-color:#fca5a5!important}.projet-action-btn svg,.client-action-btn svg,.artisan-action-btn svg,.document-action-btn svg,.documents-action-btn svg,.document-action-icon svg,.suivi-action-btn svg,.icon-btn svg{stroke-width:2.25px!important;width:18px!important;height:18px!important}.document-action-icon svg,.client-action-btn svg,.artisan-action-btn svg{fill:none!important;stroke:currentColor!important;stroke-linecap:round!important;stroke-linejoin:round!important}.document-file-badge{color:#1e3a8a!important;letter-spacing:.02em!important;background:#eef2ff!important;border:1px solid #dbeafe!important;border-radius:13px!important;place-items:center!important;width:48px!important;min-width:48px!important;height:48px!important;font-size:.82rem!important;font-weight:950!important;display:grid!important;overflow:hidden!important}.document-file-badge img{object-fit:cover!important;width:100%!important;height:100%!important}.document-file-badge.is-pdf{color:#1e3a8a!important;background:#eef2ff!important}.document-file-badge.is-image{color:#0e7490!important;background:#ecfeff!important}.document-file-badge.is-office{color:#166534!important;background:#f0fdf4!important}.document-file-badge.is-other{color:#475569!important;background:#f8fafc!important}.projet-compact-next-actions p,.client-compact-side p,.artisan-compact-side p,.document-compact-side p,.documents-compact-side p,.suivi-compact-side p,.suivi-action-side p{margin:0!important}.projet-compact-next-actions span,.client-compact-side strong,.artisan-compact-side strong,.document-compact-side strong,.documents-compact-side strong,.suivi-compact-side strong,.suivi-action-side strong{color:#64748b!important;font-weight:850!important}@media (width<=900px){.projet-compact-card,.client-compact-card,.artisan-compact-card,.document-compact-card,.documents-compact-card,.document-card,.suivi-compact-card,.suivi-action-card{grid-template-columns:1fr!important;gap:12px!important}.document-file-badge{display:none!important}.projet-compact-side,.client-compact-side,.artisan-compact-side,.document-compact-side,.documents-compact-side,.document-actions,.suivi-compact-side,.suivi-action-side{justify-items:start!important;min-width:0!important}.projet-compact-actions,.client-compact-actions,.artisan-compact-actions,.document-compact-actions,.documents-compact-actions,.document-actions,.suivi-compact-actions,.suivi-action-actions,.client-progress-badges,.artisan-progress-badges{justify-content:flex-start!important}}.projet-compact-title,.client-compact-title,.artisan-compact-title,.document-compact-title,.documents-compact-title,.document-card-main>strong,.suivi-compact-title,.suivi-action-title{color:#0f172a!important;letter-spacing:-.018em!important;font-size:clamp(.86rem,.8rem + .16vw,.98rem)!important;font-weight:900!important;line-height:1.16!important}.projet-compact-meta,.client-compact-meta,.artisan-compact-meta,.document-compact-meta,.documents-compact-meta,.document-card-main>span,.suivi-compact-meta,.suivi-action-meta{color:#64748b!important;letter-spacing:-.006em!important;font-size:clamp(.8rem,.74rem + .14vw,.9rem)!important;font-weight:500!important;line-height:1.24!important}.projet-compact-meta a,.client-compact-meta a,.artisan-compact-meta a,.document-compact-meta a,.documents-compact-meta a,.document-card-main a,.suivi-compact-meta a,.suivi-action-meta a{color:#334155!important;font-weight:650!important;text-decoration:none!important;transition:color .15s,text-decoration-color .15s!important}.projet-compact-meta a:hover,.client-compact-meta a:hover,.artisan-compact-meta a:hover,.document-compact-meta a:hover,.documents-compact-meta a:hover,.document-card-main a:hover,.suivi-compact-meta a:hover,.suivi-action-meta a:hover{color:#0b57d0!important;text-underline-offset:3px!important;text-decoration:underline!important;text-decoration-thickness:1px!important}.projet-compact-next-actions,.client-compact-extra,.client-compact-progress,.artisan-compact-extra,.artisan-card-progress,.document-compact-context,.documents-compact-context,.suivi-compact-dates,.suivi-action-dates{color:#334155!important;letter-spacing:-.004em!important;font-size:clamp(.78rem,.72rem + .14vw,.88rem)!important;font-weight:500!important;line-height:1.24!important}.client-compact-progress,.artisan-card-progress,.suivi-compact-dates,.suivi-action-dates{margin:0!important}.client-compact-progress strong,.artisan-card-progress strong,.suivi-compact-dates strong,.suivi-action-dates strong,.client-compact-extra strong,.artisan-compact-extra strong{color:#334155!important;font-weight:650!important}.client-compact-progress-button,.artisan-inline-action,.suivi-compact-dates button,.suivi-action-dates button{color:#334155!important;font-weight:650!important;text-decoration:none!important}.client-compact-progress-button:hover,.artisan-inline-action:hover,.suivi-compact-dates button:hover,.suivi-action-dates button:hover{color:#0b57d0!important;text-underline-offset:3px!important;text-decoration:underline!important}.client-compact-meta,.artisan-compact-meta{color:#64748b!important}.client-compact-meta a,.artisan-compact-meta a{color:#334155!important;font-weight:650!important}.client-compact-meta a:hover,.artisan-compact-meta a:hover{color:#0b57d0!important}.projet-progress-badges>span,.client-compact-badges>span,.client-progress-badges>span,.artisan-compact-badges>span,.artisan-progress-badges>span,.document-compact-badges>span,.documents-compact-badges>span,.suivi-compact-badges>span,.suivi-action-badges>span,.projet-attention-badge,.status-chip,.client-info-badge{min-height:22px!important;padding:3px 8px!important;font-size:.72rem!important;font-weight:800!important;line-height:1!important}.client-info-badge.warning{color:#9a3412!important}.crm-detail-page{flex-direction:column;gap:12px;width:100%;display:flex}.crm-detail-header{background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #dbeafe;border-radius:20px;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px;display:flex;box-shadow:0 12px 28px #0f172a0d}.crm-detail-header-main{flex-direction:column;flex:auto;gap:10px;min-width:0;display:flex}.crm-detail-title-line{flex-wrap:wrap;align-items:center;gap:10px 12px;min-width:0;display:flex}.crm-detail-title{color:#0f172a;letter-spacing:-.04em;overflow-wrap:anywhere;margin:0;font-size:clamp(1.45rem,1.1rem + 1vw,2.05rem);font-weight:950;line-height:1.1}.crm-detail-subtitle{color:#64748b;overflow-wrap:anywhere;margin:0;font-size:clamp(.98rem,.9rem + .22vw,1.12rem);font-weight:800;line-height:1.35}.crm-detail-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:min(100%,230px);display:flex}.crm-detail-actions select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:12px;max-width:220px;min-height:40px;font-weight:800}.crm-detail-back-row{justify-content:flex-start;width:100%;display:flex}.crm-detail-back-button{color:#475569!important;border-radius:999px!important;min-height:34px!important;padding:6px 10px!important;font-size:.92rem!important;font-weight:850!important}.crm-detail-sections{flex-direction:column;gap:12px;margin-top:16px;display:flex}.crm-section-card{background:#fff;border:1px solid #dbeafe;border-radius:18px;overflow:hidden;box-shadow:0 10px 24px #0f172a0b}.crm-section-card.crm-section-success{border-color:#bbf7d0}.crm-section-card.crm-section-info{border-color:#bfdbfe}.crm-section-card.crm-section-warning{border-color:#fed7aa}.crm-section-card.crm-section-danger{border-color:#fecaca}.crm-section-header{width:100%;color:inherit;text-align:left;cursor:pointer;background:linear-gradient(#fff 0%,#f8fbff 100%);border:0;justify-content:space-between;align-items:center;gap:14px;padding:15px 16px;display:flex}.crm-section-header:hover{background:#eff6ff}.crm-section-header-main{flex-direction:column;flex:auto;gap:4px;min-width:0;display:flex}.crm-section-title{color:#0f172a;letter-spacing:-.018em;font-size:1.03rem;font-weight:950;line-height:1.2}.crm-section-summary{color:#64748b;overflow-wrap:anywhere;font-size:.92rem;font-weight:750;line-height:1.35}.crm-section-toggle{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;flex:none;justify-content:center;align-items:center;width:34px;height:34px;font-size:1.2rem;font-weight:950;line-height:1;display:inline-flex}.crm-section-body{border-top:1px solid #e2e8f0;padding:0 16px 16px}.crm-section-collapsed .crm-section-header{background:#fff}.crm-info-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin-top:14px;display:grid}.crm-info-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:5px;min-width:0;margin:0;padding:12px;display:flex}.crm-info-row-wide{grid-column:1/-1}.crm-info-label{color:#64748b;letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:950;line-height:1.2}.crm-info-value{color:#0f172a;overflow-wrap:anywhere;min-width:0;font-size:.98rem;font-weight:850;line-height:1.35}.crm-muted-text{color:#64748b;font-weight:700}.crm-status-pill{max-width:100%;white-space:normal!important}.crm-row-actions,.crm-detail-action-bar,.crm-section-tools{flex-wrap:wrap;grid-column:1/-1;margin-top:6px}.crm-section-tools{justify-content:flex-end;display:flex}.crm-document-preview,.crm-timeline-grid{margin-top:14px}@media (width<=900px){.crm-detail-header{flex-direction:column;align-items:stretch}.crm-detail-actions{justify-content:flex-start;min-width:0}.crm-detail-actions select{max-width:100%}}@media (width<=640px){.crm-detail-header{border-radius:16px;padding:14px}.crm-section-header{align-items:flex-start;padding:13px 14px}.crm-section-body{padding:0 14px 14px}.crm-info-grid{grid-template-columns:1fr}.crm-detail-actions,.crm-detail-actions select,.crm-detail-actions button,.crm-detail-action-bar button,.crm-row-actions button{width:100%}}.crm-project-summary-strip{color:#334155;box-shadow:none;background:#f8fbff;border:1px solid #e2e8f0;border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:12px 0 4px;padding:10px 14px;display:flex}.crm-project-summary-title{color:#0f172a;letter-spacing:-.01em;font-size:.88rem;font-weight:800}.crm-project-summary-text{color:#475569;overflow-wrap:anywhere;min-width:0;font-size:.94rem;font-weight:450;line-height:1.35}.crm-detail-subtitle,.crm-section-summary,.crm-muted-text{font-weight:450}.crm-detail-actions button,.crm-detail-action-bar button,.crm-row-actions button,.crm-section-body>button.ghost{min-height:34px;padding:7px 11px;font-size:.9rem;font-weight:650}.crm-detail-actions select{min-height:36px;font-weight:550}.crm-detail-sections{gap:8px;margin-top:12px}.crm-section-card{box-shadow:none;border-color:#e2e8f0;border-radius:14px}.crm-section-header{background:#fff;gap:10px;padding:10px 13px}.crm-section-card:not(.crm-section-collapsed) .crm-section-header{background:#fbfdff}.crm-section-title{font-size:.98rem;font-weight:850}.crm-section-summary{color:#64748b;font-size:.88rem;line-height:1.3}.crm-section-toggle{color:#64748b;background:#f8fafc;border-color:#dbeafe;width:28px;height:28px;font-size:1rem;font-weight:700}.crm-section-body{border-top-color:#edf2f7;padding:4px 14px 14px}.crm-info-grid{gap:6px 18px;margin-top:10px}.crm-info-row{background:0 0;border:0;border-bottom:1px solid #eef2f7;border-radius:0;gap:3px;padding:7px 0}.crm-info-label{color:#64748b;letter-spacing:.035em;font-size:.73rem;font-weight:750}.crm-info-value{color:#1e293b;font-size:.95rem;font-weight:450}.crm-status-pill.status-chip{font-weight:650!important}.crm-kv-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:0 24px;margin-top:8px;display:grid}.crm-kv-list-compact{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.crm-kv-row{border-bottom:1px solid #eef2f7;grid-template-columns:minmax(130px,.42fr) minmax(0,1fr);align-items:baseline;gap:10px;min-width:0;padding:8px 0;display:grid}.crm-kv-row .crm-info-value{overflow-wrap:anywhere}.crm-action-list,.crm-timeline-list{flex-direction:column;gap:0;margin-top:10px;display:flex}.crm-action-row{border-top:1px solid #eef2f7;justify-content:space-between;align-items:flex-start;gap:14px;padding:10px 0;display:flex}.crm-action-content{grid-template-columns:auto minmax(160px,.7fr) minmax(220px,1.3fr);align-items:baseline;gap:8px 12px;min-width:0;display:grid}.crm-action-priority{color:#2563eb;text-transform:uppercase;letter-spacing:.035em;font-size:.78rem;font-weight:750}.crm-action-priority.is-urgent{color:#b91c1c}.crm-action-title{color:#0f172a;overflow-wrap:anywhere;font-weight:600}.crm-action-desc{color:#475569;overflow-wrap:anywhere;font-weight:400;line-height:1.35}.crm-alert-row .crm-action-priority{color:#d97706}.crm-feedback-success{color:#166534;margin:8px 0;font-weight:500}.crm-timeline-row{border-top:1px solid #eef2f7;grid-template-columns:minmax(96px,auto) auto minmax(0,1fr);align-items:center;gap:10px;padding:9px 0;display:grid}.crm-timeline-date{color:#64748b;font-size:.88rem;font-weight:500}.crm-timeline-description{color:#334155;overflow-wrap:anywhere;font-weight:400;line-height:1.35}@media (width<=760px){.crm-action-row{flex-direction:column;gap:8px}.crm-action-content,.crm-timeline-row{grid-template-columns:1fr;gap:5px}.crm-kv-list,.crm-kv-list-compact{grid-template-columns:1fr}.crm-kv-row{grid-template-columns:1fr;gap:3px}}@media (width<=640px){.crm-project-summary-strip{flex-direction:column;align-items:flex-start}.crm-section-header{padding:11px 12px}}.crm-project-summary-strip{flex-direction:column;align-items:stretch;gap:8px}.crm-kpi-strip{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px;width:100%;display:grid}.crm-kpi-tile{color:#0f172a;text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-left:4px solid #94a3b8;border-radius:13px;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;min-height:60px;padding:9px 11px 9px 14px;display:flex;position:relative;overflow:hidden;box-shadow:0 6px 16px #0f172a0a}.crm-kpi-tile:hover,.crm-kpi-tile:focus-visible{border-color:#bfdbfe;transform:translateY(-1px);box-shadow:0 10px 20px #2563eb17}.crm-kpi-tile--danger{border-left-color:#ef4444}.crm-kpi-tile--warning{border-left-color:#f97316}.crm-kpi-tile--info{border-left-color:#2563eb}.crm-kpi-tile--success{border-left-color:#22c55e}.crm-kpi-tile--neutral{border-left-color:#94a3b8}.crm-kpi-label{color:#64748b;letter-spacing:.04em;text-transform:uppercase;font-size:.72rem;font-weight:750;line-height:1.15}.crm-kpi-value{color:#0f172a;letter-spacing:-.02em;overflow-wrap:anywhere;font-size:1.02rem;font-weight:850;line-height:1.15}.crm-kpi-hint{color:#64748b;overflow-wrap:anywhere;font-size:.78rem;font-weight:450;line-height:1.2}.crm-section-card--danger,.crm-section-card--warning,.crm-section-card--info,.crm-section-card--success,.crm-section-card--neutral{border-left-width:4px}.crm-section-card--danger{border-left-color:#ef4444}.crm-section-card--warning{border-left-color:#f97316}.crm-section-card--info{border-left-color:#2563eb}.crm-section-card--success{border-left-color:#22c55e}.crm-section-card--neutral{border-left-color:#94a3b8}.crm-highlight-pulse{animation:1.45s ease-out crm-highlight-pulse}@keyframes crm-highlight-pulse{0%{box-shadow:0 0 #2563eb3d}35%{background-color:#eff6ff;box-shadow:0 0 0 5px #2563eb1a}to{box-shadow:0 0 #2563eb00}}.crm-compact-table th,.crm-compact-table td{vertical-align:middle;padding-top:7px!important;padding-bottom:7px!important}.crm-compact-table .status-chip,.crm-soft-badge,.crm-action-row .status-chip,.crm-timeline-row .status-chip{min-height:24px!important;padding:3px 8px!important;font-size:.78rem!important;font-weight:650!important}@media (width>=1180px){.crm-kpi-strip{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (width<=560px){.crm-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-kpi-tile{min-height:64px;padding:9px 9px 9px 12px}}@media (width<=380px){.crm-kpi-strip{grid-template-columns:1fr}}.crm-project-detail-kpis.crm-kpi-strip{grid-template-columns:repeat(auto-fit,minmax(142px,1fr))!important;gap:8px!important;width:100%!important;display:grid!important}.crm-project-detail-kpis .crm-kpi-tile{color:#0f172a!important;text-align:left!important;cursor:pointer!important;background:linear-gradient(#fff 0%,#f8fbff 100%)!important;border:1px solid #e2e8f0!important;border-left:4px solid #94a3b8!important;border-radius:13px!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"label value""hint hint"!important;align-items:center!important;gap:1px 10px!important;min-width:0!important;height:auto!important;min-height:52px!important;padding:8px 11px 8px 14px!important;display:grid!important;position:relative!important;overflow:visible!important;box-shadow:0 6px 16px #0f172a0a!important}.crm-project-detail-kpis .crm-kpi-tile:hover,.crm-project-detail-kpis .crm-kpi-tile:focus-visible{border-color:#bfdbfe #bfdbfe #bfdbfe var(--crm-kpi-accent,#94a3b8)!important;transform:translateY(-1px)!important;box-shadow:0 10px 20px #2563eb17!important}.crm-project-detail-kpis .crm-kpi-tile:before{display:none!important}.crm-project-detail-kpis .crm-kpi-tile--danger{--crm-kpi-accent:#ef4444;border-left-color:#ef4444!important}.crm-project-detail-kpis .crm-kpi-tile--warning{--crm-kpi-accent:#f97316;border-left-color:#f97316!important}.crm-project-detail-kpis .crm-kpi-tile--info{--crm-kpi-accent:#2563eb;border-left-color:#2563eb!important}.crm-project-detail-kpis .crm-kpi-tile--success{--crm-kpi-accent:#22c55e;border-left-color:#22c55e!important}.crm-project-detail-kpis .crm-kpi-tile--neutral{--crm-kpi-accent:#94a3b8;border-left-color:#94a3b8!important}.crm-project-detail-kpis .crm-kpi-label,.crm-project-detail-kpis .crm-kpi-value,.crm-project-detail-kpis .crm-kpi-hint{text-overflow:clip!important;white-space:normal!important;z-index:1!important;min-width:0!important;max-width:100%!important;line-height:1.12!important;display:block!important;position:relative!important;overflow:visible!important}.crm-project-detail-kpis .crm-kpi-label{color:#64748b!important;letter-spacing:.04em!important;text-transform:uppercase!important;grid-area:label!important;font-size:.72rem!important;font-weight:800!important}.crm-project-detail-kpis .crm-kpi-value{color:#0f172a!important;letter-spacing:-.035em!important;text-align:right!important;text-transform:uppercase!important;grid-area:value!important;justify-self:end!important;font-size:1.08rem!important;font-weight:900!important}.crm-project-detail-kpis .crm-kpi-hint{color:#64748b!important;letter-spacing:0!important;text-transform:none!important;grid-area:hint!important;font-size:.74rem!important;font-weight:450!important}@media (width>=1180px){.crm-project-detail-kpis.crm-kpi-strip{grid-template-columns:repeat(6,minmax(0,1fr))!important}}@media (width<=560px){.crm-project-detail-kpis.crm-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.crm-project-detail-kpis .crm-kpi-tile{min-height:56px!important;padding:9px 9px 9px 12px!important}}@media (width<=380px){.crm-project-detail-kpis.crm-kpi-strip{grid-template-columns:1fr!important}}.crm-accent-left--danger,.crm-accent-left--warning,.crm-accent-left--info,.crm-accent-left--success,.crm-accent-left--neutral{--crm-accent-left-width:6px;--crm-accent-left-color:#94a3b8;border-left:var(--crm-accent-left-width) solid var(--crm-accent-left-color)!important}.crm-accent-left--danger{--crm-accent-left-color:#ef4444}.crm-accent-left--warning{--crm-accent-left-color:#f97316}.crm-accent-left--info{--crm-accent-left-color:#2563eb}.crm-accent-left--success{--crm-accent-left-color:#22c55e}.crm-accent-left--neutral{--crm-accent-left-color:#94a3b8}.crm-kpi-tile--danger,.crm-section-card--danger{--crm-accent-left-color:#ef4444}.crm-kpi-tile--warning,.crm-section-card--warning{--crm-accent-left-color:#f97316}.crm-kpi-tile--info,.crm-section-card--info{--crm-accent-left-color:#2563eb}.crm-kpi-tile--success,.crm-section-card--success{--crm-accent-left-color:#22c55e}.crm-kpi-tile--neutral,.crm-section-card--neutral{--crm-accent-left-color:#94a3b8}.crm-section-card.crm-accent-left--danger,.crm-section-card.crm-accent-left--warning,.crm-section-card.crm-accent-left--info,.crm-section-card.crm-accent-left--success,.crm-section-card.crm-accent-left--neutral,.crm-project-detail-kpis .crm-kpi-tile,.crm-project-list-kpis .projets-kpi-card,.projet-compact-card.crm-accent-left--danger,.projet-compact-card.crm-accent-left--warning,.projet-compact-card.crm-accent-left--info,.projet-compact-card.crm-accent-left--success,.projet-compact-card.crm-accent-left--neutral{border-left-color:var(--crm-accent-left-color)!important;border-left-width:var(--crm-accent-left-width)!important;border-left-style:solid!important}.crm-project-list-kpis .projets-kpi-card:before,.projet-compact-card.crm-accent-left--danger:before,.projet-compact-card.crm-accent-left--warning:before,.projet-compact-card.crm-accent-left--info:before,.projet-compact-card.crm-accent-left--success:before,.projet-compact-card.crm-accent-left--neutral:before{display:none!important}.crm-project-list-kpis .projets-kpi-card{padding-left:12px!important}.crm-project-detail-kpis.crm-kpi-strip{grid-template-columns:repeat(auto-fit,minmax(136px,1fr))!important}.crm-project-detail-kpis .crm-kpi-tile{flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:3px!important;min-height:66px!important;padding:10px 12px 10px 14px!important;display:flex!important;overflow:visible!important}.crm-project-detail-kpis .crm-kpi-label,.crm-project-detail-kpis .crm-kpi-value,.crm-project-detail-kpis .crm-kpi-hint{white-space:normal!important;overflow-wrap:anywhere!important;text-align:left!important;width:100%!important}.crm-project-detail-kpis .crm-kpi-label{font-size:.72rem!important;line-height:1.12!important}.crm-project-detail-kpis .crm-kpi-value{letter-spacing:-.02em!important;text-transform:none!important;font-size:1.04rem!important;font-weight:850!important;line-height:1.15!important}.crm-project-detail-kpis .crm-kpi-hint{font-size:.76rem!important;line-height:1.15!important}@media (width>=1180px){.crm-project-detail-kpis.crm-kpi-strip{grid-template-columns:repeat(6,minmax(0,1fr))!important}}@media (width<=980px){.crm-project-detail-kpis.crm-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (width<=560px){.crm-project-detail-kpis.crm-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=380px){.crm-project-detail-kpis.crm-kpi-strip{grid-template-columns:1fr!important}}.crm-card{color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:16px;min-width:0;position:relative}.crm-card--interactive{cursor:pointer;transition:transform .16s,border-color .16s,box-shadow .16s,background .16s}.crm-card--interactive:hover,.crm-card--interactive:focus-visible{border-color:#bfdbfe;outline:none;transform:translateY(-1px);box-shadow:0 10px 22px #2563eb1a}.crm-card--compact{padding:12px 14px}.crm-card-title{color:#0f172a;margin:0;font-size:1rem;font-weight:850;line-height:1.2}.crm-card-subtitle,.crm-card-meta{color:#64748b;font-size:.9rem;font-weight:450;line-height:1.35}.crm-card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.crm-project-list-kpis .crm-kpi-tile.projets-kpi-card{grid-template-columns:minmax(0,auto) auto!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;min-width:104px!important;height:auto!important;min-height:42px!important;padding:7px 10px 7px 12px!important;display:inline-grid!important;overflow:visible!important}.crm-project-list-kpis .crm-kpi-tile.projets-kpi-card:before{display:none!important}.crm-project-list-kpis .crm-kpi-tile.projets-kpi-card .crm-kpi-label,.crm-project-list-kpis .crm-kpi-tile.projets-kpi-card .crm-kpi-value{text-overflow:clip!important;white-space:nowrap!important;min-width:0!important;line-height:1!important;display:block!important;overflow:visible!important}.crm-project-list-kpis .crm-kpi-tile.projets-kpi-card .crm-kpi-label{color:#64748b!important;letter-spacing:.035em!important;text-transform:uppercase!important;font-size:.75rem!important;font-weight:900!important}.crm-project-list-kpis .crm-kpi-tile.projets-kpi-card .crm-kpi-value{color:#0f172a!important;letter-spacing:-.035em!important;text-transform:none!important;justify-self:end!important;font-size:1.08rem!important;font-weight:950!important}.crm-project-list-kpis .crm-kpi-tile.projets-kpi-card .crm-kpi-hint{display:none!important}.crm-project-list-kpis .crm-kpi-tile.projets-kpi-card.is-active{background:#eff6ff!important;border-color:#2563eb!important;box-shadow:inset 0 0 0 1px #2563eb38,0 8px 18px #2563eb1a!important}.crm-project-detail-kpis .crm-kpi-tile{border-left-color:var(--crm-accent-left-color)!important}.crm-contact-summary{grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:18px;min-width:0;display:grid}.crm-contact-main,.crm-contact-extra{min-width:0}.crm-contact-main{gap:12px;display:grid}.crm-contact-title{color:#0f172a;overflow-wrap:anywhere;margin:0 0 4px;font-size:1.25rem;font-weight:800}.crm-contact-subtitle{color:#64748b;overflow-wrap:anywhere;margin:0;font-weight:650}.crm-contact-lines{gap:8px;display:grid}.crm-contact-line{border-bottom:1px solid #eef2f7;grid-template-columns:minmax(120px,.28fr) minmax(0,1fr);align-items:baseline;gap:12px;min-width:0;padding:7px 0;display:grid}.crm-contact-line span{color:#64748b;letter-spacing:.035em;text-transform:uppercase;font-size:.78rem;font-weight:750}.crm-contact-line strong{color:#1e293b;overflow-wrap:anywhere;min-width:0;font-size:.98rem;font-weight:500}.crm-contact-extra{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:12px 14px}.crm-contact-extra h3{color:#334155;margin:0 0 8px;font-size:.98rem}@media (width<=900px){.crm-contact-summary{grid-template-columns:1fr}}@media (width<=560px){.crm-contact-line{grid-template-columns:1fr;gap:3px}}.crm-section-card.crm-accent-left--danger,.crm-section-card.crm-accent-left--warning,.crm-section-card.crm-accent-left--info,.crm-section-card.crm-accent-left--success,.crm-section-card.crm-accent-left--neutral{position:relative;overflow:hidden;border-left:1px solid #dbeafe!important}.crm-section-card.crm-accent-left--danger:before,.crm-section-card.crm-accent-left--warning:before,.crm-section-card.crm-accent-left--info:before,.crm-section-card.crm-accent-left--success:before,.crm-section-card.crm-accent-left--neutral:before{content:"";z-index:0;background:var(--crm-accent-left-color,#94a3b8);pointer-events:none;border-radius:999px;width:8px;position:absolute;top:10px;bottom:10px;left:8px}.crm-section-card.crm-accent-left--danger>*,.crm-section-card.crm-accent-left--warning>*,.crm-section-card.crm-accent-left--info>*,.crm-section-card.crm-accent-left--success>*,.crm-section-card.crm-accent-left--neutral>*{z-index:1;position:relative}.crm-section-card.crm-accent-left--danger .crm-section-header,.crm-section-card.crm-accent-left--warning .crm-section-header,.crm-section-card.crm-accent-left--info .crm-section-header,.crm-section-card.crm-accent-left--success .crm-section-header,.crm-section-card.crm-accent-left--neutral .crm-section-header,.crm-section-card.crm-accent-left--danger .crm-section-body,.crm-section-card.crm-accent-left--warning .crm-section-body,.crm-section-card.crm-accent-left--info .crm-section-body,.crm-section-card.crm-accent-left--success .crm-section-body,.crm-section-card.crm-accent-left--neutral .crm-section-body{padding-left:28px}.crm-detail-kpi-grid,.crm-detail-filter-segments{margin-bottom:12px}.crm-next-events-list{gap:2px;min-width:0;display:grid}.crm-next-events-list span{overflow-wrap:anywhere;min-width:0;display:block}#project-actions .crm-row-actions .projets-add-button,#project-info .crm-section-tools .projets-add-button{width:auto}.crm-history-day-group{gap:4px;display:grid}.crm-history-day-title{color:#475569;margin:8px 0 2px;font-size:.86rem;font-weight:800}.crm-timeline-row.crm-history-row{grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:8px;padding:7px 0}.crm-history-content{gap:2px;min-width:0;display:grid}.crm-history-content strong{overflow-wrap:anywhere}.crm-history-content .crm-muted-text{margin:0;font-size:.82rem}.crm-history-changes{gap:2px;margin-top:2px;display:grid}.crm-history-changes p{color:#475569;margin:0;font-size:.84rem}.crm-history-changes span{color:#64748b}.projet-compact-main .projet-progress-badges,.projet-progress-badges{justify-content:flex-start!important;justify-self:start!important;width:100%!important;margin-left:0!important;padding-left:0!important}.projet-compact-card.crm-accent-left--danger,.projet-compact-card.crm-accent-left--warning,.projet-compact-card.crm-accent-left--info,.projet-compact-card.crm-accent-left--success,.projet-compact-card.crm-accent-left--neutral{border-left:1px solid #dbeafe!important;padding-left:20px!important}.projet-compact-card.crm-accent-left--danger:before,.projet-compact-card.crm-accent-left--warning:before,.projet-compact-card.crm-accent-left--info:before,.projet-compact-card.crm-accent-left--success:before,.projet-compact-card.crm-accent-left--neutral:before{content:""!important;width:8px!important;box-shadow:none!important;opacity:1!important;background:var(--crm-accent-left-color,#2563eb)!important;border:0!important;border-radius:999px!important;display:block!important;position:absolute!important;inset:10px auto 10px 8px!important;transform:none!important}.projet-compact-card.crm-accent-left--danger:before{background:#dc2626!important}.projet-compact-card.crm-accent-left--warning:before{background:#f97316!important}.projet-compact-card.crm-accent-left--info:before{background:#2563eb!important}.projet-compact-card.crm-accent-left--success:before{background:#16a34a!important}.projet-compact-card.crm-accent-left--neutral:before{background:#64748b!important}.crm-detail-page .crm-project-detail-kpis .crm-kpi-tile,.crm-detail-page .crm-section-card.crm-accent-left--danger,.crm-detail-page .crm-section-card.crm-accent-left--warning,.crm-detail-page .crm-section-card.crm-accent-left--info,.crm-detail-page .crm-section-card.crm-accent-left--success,.crm-detail-page .crm-section-card.crm-accent-left--neutral{border:1px solid #dbeafe!important;position:relative!important;overflow:hidden!important;box-shadow:0 10px 24px #0f172a0d!important}.crm-detail-page .crm-project-detail-kpis .crm-kpi-tile:before,.crm-detail-page .crm-section-card.crm-accent-left--danger:before,.crm-detail-page .crm-section-card.crm-accent-left--warning:before,.crm-detail-page .crm-section-card.crm-accent-left--info:before,.crm-detail-page .crm-section-card.crm-accent-left--success:before,.crm-detail-page .crm-section-card.crm-accent-left--neutral:before{content:""!important;background:var(--crm-accent-left-color,#2563eb)!important;width:8px!important;box-shadow:none!important;opacity:1!important;z-index:0!important;border:0!important;border-radius:999px!important;display:block!important;position:absolute!important;inset:10px auto 10px 8px!important;transform:none!important}.crm-detail-page .crm-project-detail-kpis .crm-kpi-label,.crm-detail-page .crm-project-detail-kpis .crm-kpi-value,.crm-detail-page .crm-project-detail-kpis .crm-kpi-hint,.crm-detail-page .crm-section-card>*{z-index:1!important;position:relative!important}.projets-kpi-bar .projets-kpi-card.is-todo,.projets-kpi-bar .projets-kpi-card.is-relaunch{--project-kpi-accent:#f97316}.projets-kpi-bar .projets-kpi-card.is-follow,.projets-kpi-bar .projets-kpi-card.is-quotes{--project-kpi-accent:#2563eb}.projets-kpi-bar .projets-kpi-card.is-late{--project-kpi-accent:#dc2626}.projets-kpi-bar .projets-kpi-card.is-idle,.projets-kpi-bar .projets-kpi-reset{--project-kpi-accent:#64748b}.projets-kpi-bar .projets-kpi-card,.projets-kpi-bar .projets-kpi-reset{border:1px solid #dbeafe!important;box-shadow:0 10px 24px #0f172a0d!important}.projets-kpi-bar .projets-kpi-card:before,.projets-kpi-bar .projets-kpi-reset:before{content:""!important;background:var(--project-kpi-accent,#2563eb)!important;width:6px!important;box-shadow:none!important;opacity:1!important;border:0!important;border-radius:12px 0 0 12px!important;display:block!important;position:absolute!important;inset:0 auto 0 0!important;transform:none!important}.projets-kpi-bar .projets-kpi-card.is-relaunch span,.projets-kpi-bar .projets-kpi-card.is-quotes span,.projets-kpi-bar .projets-kpi-card.is-idle:not(.projets-kpi-reset) span{font-size:0!important}.projets-kpi-bar .projets-kpi-card.is-relaunch span:after,.projets-kpi-bar .projets-kpi-card.is-quotes span:after,.projets-kpi-bar .projets-kpi-card.is-idle:not(.projets-kpi-reset) span:after{letter-spacing:.005em!important;text-transform:uppercase!important;font-size:.72rem!important;font-weight:950!important}.projets-kpi-bar .projets-kpi-card.is-relaunch span:after{content:"Relances"}.projets-kpi-bar .projets-kpi-card.is-quotes span:after{content:"Devis"}.projets-kpi-bar .projets-kpi-card.is-idle:not(.projets-kpi-reset) span:after{content:"Inactifs +15 j"}.projets-kpi-bar .projets-kpi-reset span{font-size:.72rem!important}.projets-kpi-bar .projets-kpi-reset span:after{content:none!important}.crm-detail-page .crm-project-detail-kpis .crm-kpi-tile,.crm-detail-page .crm-section-card.crm-accent-left--danger,.crm-detail-page .crm-section-card.crm-accent-left--warning,.crm-detail-page .crm-section-card.crm-accent-left--info,.crm-detail-page .crm-section-card.crm-accent-left--success,.crm-detail-page .crm-section-card.crm-accent-left--neutral{border:1px solid #dbeafe!important;position:relative!important;overflow:hidden!important}.crm-detail-page .crm-project-detail-kpis .crm-kpi-tile:before,.crm-detail-page .crm-section-card.crm-accent-left--danger:before,.crm-detail-page .crm-section-card.crm-accent-left--warning:before,.crm-detail-page .crm-section-card.crm-accent-left--info:before,.crm-detail-page .crm-section-card.crm-accent-left--success:before,.crm-detail-page .crm-section-card.crm-accent-left--neutral:before{content:""!important;width:8px!important;box-shadow:none!important;opacity:1!important;z-index:0!important;border:0!important;border-radius:999px!important;display:block!important;position:absolute!important;inset:10px auto 10px 8px!important;transform:none!important}.crm-detail-page .crm-project-detail-kpis .crm-kpi-tile.crm-kpi-tile--danger:before,.crm-detail-page .crm-section-card.crm-accent-left--danger:before{background:#dc2626!important}.crm-detail-page .crm-project-detail-kpis .crm-kpi-tile.crm-kpi-tile--warning:before,.crm-detail-page .crm-section-card.crm-accent-left--warning:before{background:#f97316!important}.crm-detail-page .crm-project-detail-kpis .crm-kpi-tile.crm-kpi-tile--info:before,.crm-detail-page .crm-section-card.crm-accent-left--info:before{background:#2563eb!important}.crm-detail-page .crm-project-detail-kpis .crm-kpi-tile.crm-kpi-tile--success:before,.crm-detail-page .crm-section-card.crm-accent-left--success:before{background:#16a34a!important}.crm-detail-page .crm-project-detail-kpis .crm-kpi-tile.crm-kpi-tile--neutral:before,.crm-detail-page .crm-section-card.crm-accent-left--neutral:before{background:#64748b!important}.document-card{max-width:100%!important;display:block!important;overflow:hidden!important}.document-card-header{grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;gap:10px!important;display:grid!important}.document-header-actions{flex-wrap:wrap!important;justify-content:flex-start!important;min-width:0!important;display:flex!important}.document-upload-grid{grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;gap:10px!important;width:100%!important;min-width:0!important;max-width:100%!important;display:grid!important}.document-upload-grid>*{width:100%!important;min-width:0!important;max-width:100%!important}.document-dropzone{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:145px!important;padding:20px!important}.document-upload-options{box-sizing:border-box!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:12px!important;display:grid!important;overflow:visible!important}.document-upload-options label,.document-field{min-width:0!important}.document-field-full{grid-column:1/-1!important}.document-filters{z-index:auto!important;flex-wrap:wrap!important;width:100%!important;max-width:100%!important;margin-top:10px!important;display:flex!important;position:static!important;overflow:visible!important}.crm-section-body .document-card{box-shadow:none!important;border-left-width:0!important;margin-top:0!important;padding:12px 14px!important}.crm-section-body .document-card:before{content:none!important;display:none!important}@media (width<=760px){.document-upload-options{grid-template-columns:1fr!important}.document-dropzone{min-height:130px!important;padding:16px!important}}.admin-activity-row.admin-activity-card--admin{border-left-color:#7c3aed}.admin-activity-row:has(>.status-default){border-left-color:#7c3aed}.admin-activity-module-admin,.admin-activity-row>.status-default,.admin-activity-modal-header .status-default{color:#6d28d9;background:#f5f3ff;border-color:#ddd6fe}.admin-activity-modal-overlay{z-index:60;background:#0f172a59;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.admin-activity-modal-close,.admin-activity-modal-header>.ghost{border-color:#dbe3ef;border-radius:10px;flex:none;min-width:34px;min-height:34px;padding:6px 9px;font-size:.82rem;line-height:1}.admin-activity-row .admin-activity-description,.admin-activity-modal .admin-activity-modal-description,.admin-activity-modal-section>.admin-activity-modal-description{display:none!important}#project-history .crm-timeline-list{gap:8px}#project-history .crm-history-day-group{gap:7px}#project-history .crm-history-row{background:linear-gradient(#fff 0%,#fbfdff 100%);border:1px solid #dbeafe;border-left:6px solid #2563eb;border-radius:17px;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:10px;min-height:0;margin-bottom:7px;padding:10px 14px 10px 16px;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s;display:grid;position:relative;overflow:hidden;box-shadow:0 10px 24px #0f172a0b}#project-history .crm-history-row:hover{background:linear-gradient(#fff 0%,#f7fbff 100%);border-color:#bfdbfe #bfdbfe #bfdbfe #2563eb;transform:translateY(-1px);box-shadow:0 14px 30px #2563eb13}#project-history .crm-history-content{gap:2px}#project-history .crm-history-content>strong{color:#0f172a;font-size:.94rem;font-weight:750;line-height:1.25}#project-history .crm-history-content>p,#project-history .crm-history-changes p{margin:2px 0}#project-history .crm-history-changes{margin-top:2px}#project-history .crm-history-changes p{overflow-wrap:anywhere}@media (width<=760px){#project-history .crm-history-row{grid-template-columns:1fr;padding:10px 12px}}#project-history .crm-history-row[role=button]{cursor:pointer}#project-history .crm-history-row[role=button]:focus-visible{outline-offset:2px;outline:3px solid #2563eb40}.project-history-modal .admin-activity-summary-grid strong,.project-history-modal .admin-activity-context-list strong{overflow-wrap:anywhere}.admin-settings-table{table-layout:fixed;width:100%}.admin-settings-table th,.admin-settings-table td{vertical-align:middle}.admin-settings-table th:first-child,.admin-settings-table td:first-child{width:52%}.admin-settings-table th:nth-child(2),.admin-settings-table td:nth-child(2){text-align:center;width:10%}.admin-settings-table th:nth-child(3),.admin-settings-table td:nth-child(3){text-align:center;width:11%}.admin-settings-table th:nth-child(4),.admin-settings-table td:nth-child(4){text-align:center;white-space:nowrap;width:15%}.admin-settings-table th:nth-child(5),.admin-settings-table td:nth-child(5){text-align:right;width:12%}.admin-settings-table td:first-child>div:first-child{line-height:1.25}.admin-settings-table td:first-child .crm-muted-text{text-overflow:ellipsis;white-space:nowrap;margin-top:2px;display:block;overflow:hidden}.admin-settings-table .status-chip{justify-content:center;width:fit-content;max-width:100%;display:inline-flex}.admin-settings-actions-cell,.admin-settings-actions{min-width:112px}.admin-settings-actions{flex-wrap:nowrap;justify-content:flex-end}.admin-settings-actions button{white-space:nowrap;min-width:88px}.admin-setting-number-editor{flex-wrap:nowrap;justify-content:center;align-items:center;gap:6px}.admin-setting-number-editor input{text-align:center;width:78px;min-width:78px}.admin-setting-number-editor button{min-width:34px;padding-left:0;padding-right:0}.document-list .document-item{flex-wrap:nowrap;grid-template-columns:64px minmax(0,1fr) 132px;align-items:center;gap:14px;display:grid}.document-list .document-thumb{justify-self:start;width:58px;height:58px}.document-list .document-meta{min-width:0;overflow:hidden}.document-list .document-meta strong,.document-list .document-meta span,.document-list .document-meta small{text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;display:block;overflow:hidden}.document-list .document-actions{flex-wrap:nowrap;justify-content:flex-end;justify-self:end;align-items:center;width:132px;max-width:132px}.document-list .document-actions button,.document-list .document-actions .document-action-icon{flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px;padding:0}@media (width<=900px){.admin-settings-table{min-width:820px}.document-list .document-item{grid-template-columns:58px minmax(0,1fr);align-items:start}.document-list .document-actions{grid-column:2;justify-content:flex-start;justify-self:start;width:auto;max-width:none;margin-top:4px}}@media (width<=560px){.document-list .document-item{grid-template-columns:1fr}.document-list .document-thumb,.document-list .document-actions{grid-column:1}.document-list .document-meta strong,.document-list .document-meta span,.document-list .document-meta small{white-space:normal;overflow-wrap:anywhere}}.admin-documents-category-row,.admin-documents-category-add{grid-template-columns:minmax(0,1fr) 118px;align-items:center;gap:8px;display:grid}.admin-documents-category-row input,.admin-documents-category-add input{min-width:0}.admin-documents-category-row button,.admin-documents-category-add button{white-space:nowrap;justify-content:center;align-items:center;width:118px;min-height:38px;display:inline-flex}.admin-documents-category-add button{color:#fff;background:#1d4ed8}@media (width<=560px){.admin-documents-category-row,.admin-documents-category-add{grid-template-columns:1fr}.admin-documents-category-row button,.admin-documents-category-add button{width:100%}}.admin-documents-categories{gap:8px!important;display:grid!important}.admin-documents-category-row,.admin-documents-category-add{align-items:center!important;gap:8px!important;width:100%!important;display:flex!important}.admin-documents-category-row input,.admin-documents-category-add input{flex:auto!important;width:auto!important;min-width:0!important}.admin-documents-category-row button,.admin-documents-category-add button{opacity:1!important;visibility:visible!important;white-space:nowrap!important;flex:0 0 118px!important;justify-content:center!important;align-items:center!important;width:118px!important;min-width:118px!important;min-height:40px!important;display:inline-flex!important}.admin-documents-category-row button{color:#b91c1c!important;background:#fff!important;border-color:#dc2626!important}.admin-documents-category-add{border-top:1px solid #e2e8f0!important;margin-top:8px!important;padding-top:8px!important}.admin-documents-category-add button{color:#fff!important;background:#1d4ed8!important;border-color:#1d4ed8!important}@media (width<=640px){.admin-documents-category-row,.admin-documents-category-add{grid-template-columns:1fr!important;display:grid!important}.admin-documents-category-row button,.admin-documents-category-add button{flex-basis:auto!important;width:100%!important;min-width:0!important}}.admin-documents-save-hidden-by-guard{display:none!important}.admin-documents-category-row-guarded{grid-template-columns:minmax(0,1fr) 72px 112px!important;align-items:center!important;gap:8px!important;width:100%!important;max-width:100%!important;display:grid!important}.admin-documents-category-row-guarded>input:not([data-category-order-guard=true]){width:100%!important;min-width:0!important}.admin-documents-category-row-guarded>button:not([data-category-remove-guard=true]){display:none!important}.admin-category-order-guard-input{text-align:center!important;width:72px!important;min-width:72px!important}.admin-category-remove-guard-button{color:#b91c1c!important;cursor:pointer!important;white-space:nowrap!important;background:#fff!important;border:1px solid #dc2626!important;border-radius:10px!important;justify-content:center!important;align-items:center!important;width:112px!important;min-width:112px!important;min-height:40px!important;font-weight:800!important;display:inline-flex!important}.admin-documents-category-add-guarded{grid-template-columns:minmax(0,1fr) 128px!important;align-items:center!important;gap:10px!important;width:100%!important;max-width:100%!important;display:grid!important}.admin-documents-category-add-guarded input{width:100%!important;min-width:0!important}.admin-category-add-guard-button{opacity:1!important;visibility:visible!important;color:#fff!important;cursor:pointer!important;white-space:nowrap!important;background:#1d4ed8!important;border:1px solid #1d4ed8!important;border-radius:10px!important;justify-content:center!important;align-items:center!important;width:128px!important;min-width:128px!important;min-height:42px!important;font-weight:800!important;display:inline-flex!important}@media (width<=640px){.admin-documents-category-row-guarded,.admin-documents-category-add-guarded{grid-template-columns:1fr!important}.admin-category-order-guard-input,.admin-category-remove-guard-button,.admin-category-add-guard-button{width:100%!important;min-width:0!important}}.admin-documents-category-inactive-row{grid-template-columns:minmax(0,1fr) 92px 124px!important;align-items:center!important;gap:8px!important;width:100%!important;max-width:100%!important;display:grid!important}.admin-documents-category-inactive-row input{color:#64748b!important;background:#f8fafc!important;width:100%!important;min-width:0!important}.admin-documents-category-inactive-row .status-chip{justify-self:center!important}.admin-category-remove-guard-button{color:#b45309!important;background:#fff7ed!important;border:1px solid #f59e0b!important}.admin-category-activate-guard-button{color:#1d4ed8!important;cursor:pointer!important;white-space:nowrap!important;background:#fff!important;border:1px solid #1d4ed8!important;border-radius:10px!important;justify-content:center!important;align-items:center!important;width:124px!important;min-width:124px!important;min-height:40px!important;font-weight:800!important;display:inline-flex!important}@media (width<=640px){.admin-documents-category-inactive-row{grid-template-columns:1fr!important}.admin-category-activate-guard-button{width:100%!important;min-width:0!important}}
