.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fi-page{background-color:#f9fafb!important}.audit-view-controls-header{background:transparent;border:none;border-radius:0;padding:.25rem 0;margin-bottom:.25rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.audit-view-actions-section{flex-shrink:0}.action-buttons{display:flex;gap:.5rem}.custom-action-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .75rem;border:1px solid #6b7280;background-color:#fff;color:#1f2937;border-radius:6px;font-size:.8125rem;font-weight:500;text-decoration:none;cursor:pointer;transition:all .2s ease-in-out}.custom-action-btn:hover{background-color:#f9fafb;border-color:#4b5563;color:#111827}.custom-action-btn:focus{outline:none;box-shadow:0 0 0 2px #3b82f6}.btn-icon{width:.875rem;height:.875rem;flex-shrink:0}.audit-view-filters-section{flex:1}.filters-container{display:flex;gap:1rem;align-items:center;justify-content:flex-end}.filter-group{display:flex;flex-direction:column;gap:.25rem}.filter-label{font-size:.75rem;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.filter-select{padding:.375rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;background:#fff;color:#374151;min-width:120px}.filter-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6}.reset-filters-btn{display:flex;align-items:center;gap:.375rem;padding:.375rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;background:#fff;color:#374151;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.reset-filters-btn:hover{background:#f3f4f6;border-color:#9ca3af}.reset-icon{width:1rem;height:1rem}@media(max-width:1024px){.audit-view-controls-header{flex-direction:column;gap:1rem}.audit-view-actions-section{width:100%}.action-buttons{justify-content:center}.filters-container{justify-content:center;flex-wrap:wrap}.summary-card{flex-wrap:wrap;gap:1rem}}@media(max-width:640px){.filters-container{flex-direction:column;gap:.75rem}.filter-group{width:100%}.filter-select{min-width:auto;width:100%}.summary-card{flex-direction:column;text-align:center}}.kanban-container{display:flex;gap:1.5rem;margin-top:.25rem;overflow-x:auto;padding-bottom:1rem;scroll-behavior:smooth}.kanban-container .kanban-column{min-width:280px;flex-shrink:0}.kanban-container::-webkit-scrollbar{height:10px}.kanban-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:5px}.kanban-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:5px}.kanban-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.dark .kanban-container::-webkit-scrollbar-track{background:#1f2937}.dark .kanban-container::-webkit-scrollbar-thumb{background:#4b5563}.dark .kanban-container::-webkit-scrollbar-thumb:hover{background:#6b7280}.dark .kanban-main-section:after{color:#9ca3af}.kanban-column{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1rem;min-height:600px}.kanban-main-section:after{content:"← Faites défiler pour voir toutes les colonnes →";display:block;text-align:center;color:#6b7280;font-size:.75rem;margin-top:.5rem;font-style:italic}.kanban-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #e5e7eb}.kanban-title{font-size:1.125rem;font-weight:600;display:flex;align-items:center;gap:.5rem}.kanban-count{background:#6b7280;color:#fff;border-radius:50%;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600}.kanban-card{background:#fff;border-radius:.5rem;padding:.7rem;margin-bottom:.75rem;border:1px solid #e5e7eb;cursor:grab;transition:all .15s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 3px #0000000d;will-change:transform,opacity;width:270px;max-width:270px;overflow:hidden;word-wrap:break-word}.kanban-card:hover{box-shadow:0 4px 6px #00000014;transform:translateY(-2px);border-color:#d1d5db}.kanban-card.dragging{opacity:.6;transform:rotate(3deg) scale(1.02);cursor:grabbing;box-shadow:0 8px 16px #0003}.kanban-column{transition:background-color .2s ease}.kanban-column:has([data-dragging=true]){background:#3b82f60d}body[data-dragging=true] [wire\:click],body[data-dragging=true] [wire\:model],body[data-dragging=true] [wire\:submit]{pointer-events:none}body[data-dragging=true] .kanban-card:not(.dragging){pointer-events:none}.card-header{display:flex;justify-content:between;align-items:flex-start;margin-bottom:.5rem}.card-title{font-weight:600;color:#1f2937;flex:1;margin-right:.5rem;font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-badges{display:flex;gap:.25rem;flex-wrap:wrap;margin-bottom:.5rem}.badge{padding:.125rem .375rem;border-radius:.375rem;font-size:.7rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.card-description{font-size:.8rem;color:#6b7280;margin-bottom:.5rem;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word;line-height:1.3;max-height:2.6rem}.criticity-badge{display:inline-flex;align-items:center;gap:.375rem;background:#f3f4f6;color:#374151;text-transform:none}.criticity-basse{background:#dcfce7!important;color:#166534!important}.criticity-normale{background:#fefcdb!important;color:#1e40af!important}.criticity-haute{background:#fee6c7!important;color:#92400e!important}.criticity-critique{background:#fee2e2!important;color:#991b1b!important}.criticity-label{font-size:.75rem;font-weight:600}.criticity-dots{display:inline-flex;gap:.25rem}.dot{width:.5rem;height:.5rem;border-radius:9999px}.dot-green{background:#10b981}.dot-red{background:#ef4444}.card-meta{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:#6b7280;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #f3f4f6}.card-stats{display:flex;gap:.75rem}.stat-item{display:flex;align-items:center;gap:.25rem;font-size:.75rem;color:#6b7280}.stat-item svg{flex-shrink:0;width:1rem;height:1rem}.stat-item.actions-incomplete{color:#dc2626;font-weight:700}.stat-item.actions-incomplete svg{color:#dc2626!important}.stat-item.actions-complete{color:#6b7280}.stat-item.actions-complete svg{color:#10b981!important}.stat-item.actions-none{color:#9ca3af}.stat-item.actions-none svg{color:#9ca3af!important}.audit-view-header{background:#fff;border-radius:.75rem;padding:1.5rem;margin-bottom:.5rem;border:1px solid #e5e7eb;box-shadow:0 1px 2px #0000000d}.audit-view-info{display:block}.audit-view-main{display:flex;flex-direction:column;width:100%}.audit-view-title-section{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:.75rem;flex-wrap:wrap}.audit-view-title-container{display:flex;align-items:center;gap:1.5rem;flex:1;min-width:300px}.title-icon-audit-view{display:flex;align-items:center;justify-content:center;padding:.625rem;background:linear-gradient(135deg,#f59e0b26,#f59e0b14);border-radius:.875rem;border:1px solid rgba(245,158,11,.25);transition:all .3s ease;box-shadow:0 4px 12px #f59e0b26}.title-icon-audit-view:hover{background:linear-gradient(135deg,#f59e0b33,#f59e0b1f);transform:scale(1.05) rotate(5deg);box-shadow:0 6px 16px #f59e0b40}.audit-view-main-title{font-size:1.875rem;font-weight:700;color:#1f2937;margin:0;line-height:1.2;letter-spacing:-.01em}.kpi-horizontal-section{display:flex;gap:1rem;align-items:center}.kpi-card-horizontal{background:linear-gradient(135deg,#fff7ed,#fff);border:2px solid #fed7aa;border-radius:.75rem;padding:.875rem 1.25rem;text-align:center;transition:all .3s ease;min-width:110px;box-shadow:0 2px 4px #fb923c1a}.kpi-card-horizontal:hover{background:linear-gradient(135deg,#ffedd5,#fff7ed);border-color:#fb923c;box-shadow:0 6px 12px #fb923c33;transform:translateY(-3px)}.progress-circle-container-small{position:relative;display:flex;align-items:center;justify-content:center;margin-bottom:.375rem;width:100px;height:100px;margin-left:auto;margin-right:auto}.progress-circle-small{width:100px;height:100px;transform:rotate(-90deg);transition:all .3s ease}.progress-text-small{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:1rem;font-weight:700;color:#10b981}.kpi-icon-container-small{display:flex;flex-direction:column;align-items:center;gap:.375rem;margin-bottom:.375rem}.kpi-icon-small{width:2rem;height:2rem;stroke-width:1.5}.kpi-number-small{font-size:1.375rem;font-weight:700;line-height:1}.kpi-label-horizontal{font-size:.75rem;color:#6b7280;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.audit-view-cards-grid{display:grid;grid-template-columns:1fr;gap:1rem;margin-bottom:1rem;margin-top:.75rem}.audit-view-cards-grid.grid-two-columns{grid-template-columns:1fr}@media(min-width:1024px){.audit-view-cards-grid.grid-two-columns{grid-template-columns:repeat(2,1fr)}}.audit-view-cards-grid.grid-full-width{grid-template-columns:1fr!important}@media(min-width:1024px){.audit-view-cards-grid.grid-full-width{grid-template-columns:1fr!important}}.info-card{background:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border:1px solid #e5e7eb;overflow:hidden;max-width:100%}.card-full-width{grid-column:1 / -1}.info-card-collapsible{background:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border:1px solid #e5e7eb;overflow:hidden;max-width:100%}.card-header-button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:.75rem 1rem;background:#fff7ed;border:none;border-bottom:1px solid #fed7aa;cursor:pointer;text-align:left;transition:all .2s ease}.card-header-button:hover{background:#ffedd5}.card-header-button:focus{outline:2px solid #ea580c;outline-offset:-2px}.card-header-button .card-title{flex:1;margin:0;font-weight:600;color:#9a3412;font-size:.875rem;display:flex;align-items:center;gap:.375rem;pointer-events:none}.card-header-button .card-title *{pointer-events:none!important}.card-header-button .card-icon{pointer-events:none!important;color:#ea580c;width:.875rem;height:.875rem}.card-header-button .chevron-icon{pointer-events:none;display:flex;align-items:center;justify-content:center;color:#9a3412;transition:color .2s ease;width:1.25rem;height:1.25rem}.card-header-button:hover .chevron-icon{color:#ea580c}.dark .info-card-collapsible{background:#1f2937;border-color:#374151}.dark .card-header-button{background:#7c2d12;border-color:#92400e}.dark .card-header-button:hover{background:#92400e}.dark .card-header-button .card-title,.dark .card-header-button .card-icon,.dark .card-header-button .chevron-icon{color:#fed7aa}.dark .card-header-button:hover .chevron-icon{color:#fb923c}.card-header{background:#fff7ed;border-bottom:1px solid #fed7aa;padding:.75rem 1rem}.card-title{font-size:.875rem;font-weight:600;color:#9a3412;display:flex;align-items:center}.card-icon{width:.875rem;height:.875rem;margin-right:.375rem;color:#ea580c}.card-body{padding:1.5rem}.definition-list{display:flex;flex-direction:column;gap:0}.definition-item{display:flex;flex-direction:row;align-items:center;padding:.5rem 0;border-bottom:1px solid #e5e7eb}.definition-item:last-child{border-bottom:none}.definition-term{font-size:.75rem;font-weight:500;color:#9ca3af;background-color:#f9fafb;text-transform:uppercase;letter-spacing:.025em;width:180px;flex-shrink:0;padding:.25rem .5rem;border-radius:.25rem}.definition-term:after{content:" :"}.definition-value{font-size:.875rem;color:#111827;font-weight:500;margin-left:1rem;flex:1}.site-badge-small{display:inline-block;margin-right:.25rem;margin-bottom:.25rem;padding:.0625rem .375rem;background:#f9731633;color:#f59e0b;border-radius:.25rem;font-size:.625rem;font-weight:500;line-height:1.4}.responsable-badge{display:inline-block;margin-right:.25rem;margin-bottom:.25rem;padding:.0625rem .375rem;background:#f9731633;color:#f59e0b;border-radius:.25rem;font-size:.625rem;font-weight:500}.definition-item .site-badge-small{background:#f9731633!important;color:#f97316!important}.definition-item .responsable-badge{background:#f9731633!important;color:#f97316!important;display:inline-block!important;padding:.0625rem .375rem!important;border-radius:.25rem!important;font-size:.625rem!important;font-weight:500!important;margin-right:.5rem!important;margin-bottom:.25rem!important;align-items:center!important}.keyword-badge{display:inline-block;padding:.25rem .625rem;background:#f9731633;color:#f59e0b;border-radius:.375rem;font-size:.625rem;font-weight:500;margin-right:.375rem;margin-bottom:.375rem}.attachment-name-only{display:inline-block;padding:.375rem .75rem;background:#f3f4f6;color:#374151;border-radius:.375rem;font-size:.875rem;cursor:pointer;transition:all .2s ease;border:1px solid #e5e7eb}.attachment-name-only:hover{background:#e5e7eb;border-color:#d1d5db;transform:translate(2px)}.actions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem;width:100%}.action-separator{grid-column:1 / -1;height:1px;background:linear-gradient(to right,transparent,#e5e7eb 10%,#e5e7eb 90%,transparent);margin:.5rem 0}.collapse-toggle-btn{display:flex;align-items:center;justify-content:center;padding:.5rem;border-radius:.5rem;background:transparent;border:1px solid #e5e7eb;cursor:pointer;transition:all .2s ease;color:#6b7280;min-width:2.5rem;min-height:2.5rem}.collapse-toggle-btn:hover{background:#f9fafb;border-color:#f59e0b;color:#f59e0b}.collapse-toggle-btn:active{transform:scale(.95)}.collapse-toggle-btn:focus-visible{outline:2px solid #f59e0b;outline-offset:2px}.action-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:0rem .5rem;min-height:80px;max-height:160px;border:2px solid #e5e7eb;border-radius:.75rem;background:linear-gradient(135deg,#fff,#f9fafb);cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.action-btn:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#f973161a,#ea580c1a);opacity:0;transition:opacity .3s ease}.action-btn:hover{transform:translateY(-4px) scale(1.02);border-color:#f59e0b;box-shadow:0 12px 24px -8px #f9731666}.action-btn:hover:before{opacity:1}.action-btn:active{transform:translateY(-2px) scale(.98)}.action-btn:disabled{opacity:.4;cursor:not-allowed;transform:none}.action-btn:disabled:hover{border-color:#e5e7eb;box-shadow:none}.action-btn-icon{width:1.5rem;height:1.5rem;color:#f59e0b;flex-shrink:0;transition:all .3s ease;position:relative;z-index:1}.action-btn:hover .action-btn-icon{color:#ea580c;transform:scale(1.1) rotate(5deg)}.action-btn-label{font-size:1rem;font-weight:600;color:#374151;text-align:center;word-break:break-word;line-height:1.4;position:relative;z-index:1}.action-btn:hover .action-btn-label{color:#f59e0b}.action-btn.validate-btn{border-color:#10b981}.action-btn.validate-btn:hover{border-color:#059669;box-shadow:0 12px 24px -8px #10b98180}.action-btn.validate-btn .action-btn-icon{color:#10b981}.action-btn.validate-btn:hover .action-btn-icon{color:#059669}.action-btn.validate-btn .action-btn-label{color:#065f46}.action-btn.validate-btn:hover .action-btn-label{color:#047857}.action-btn.delete-btn{background:linear-gradient(135deg,#fef2f2,#fee2e2);border-color:#ef4444}.action-btn.delete-btn:before{background:linear-gradient(135deg,#ef444433,#dc262633)}.action-btn.delete-btn:hover{border-color:#dc2626;box-shadow:0 12px 24px -8px #ef444480}.action-btn.delete-btn .action-btn-icon{color:#ef4444}.action-btn.delete-btn:hover .action-btn-icon{color:#dc2626}.action-btn.delete-btn .action-btn-label{color:#991b1b}.action-btn.delete-btn:hover .action-btn-label{color:#7f1d1d}.risques-table{width:100%;border-collapse:collapse;background:#fff;border-radius:.75rem;overflow:hidden;box-shadow:0 1px 3px #0000001a}.risques-table thead{background:linear-gradient(135deg,#fef3c7,#fde68a)}.risques-table th{padding:1rem;text-align:left;font-weight:600;font-size:.875rem;color:#92400e;border-bottom:2px solid #fcd34d}.risques-table td{padding:1rem;border-bottom:1px solid #e5e7eb;font-size:.875rem;color:#374151}.risques-table tbody tr:hover{background:#fffbeb}.risques-table tbody tr:last-child td{border-bottom:none}.risque-nom{font-weight:600;color:#1f2937}.risque-dossier{font-size:.75rem;color:#6b7280;margin-top:.25rem}.risque-badge{display:inline-flex;align-items:center;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500}.risque-btn-voir{display:inline-flex;align-items:center;gap:.375rem;padding:.5rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;color:#6b7280;font-size:.8125rem;font-weight:500;text-decoration:none;transition:all .2s ease}.risque-btn-voir:hover{background:#f9fafb;border-color:#d97706;color:#d97706}.risque-btn-voir svg{width:1rem;height:1rem}.risques-empty{text-align:center;padding:3rem;color:#9ca3af}.risques-empty svg{width:3rem;height:3rem;margin:0 auto 1rem;opacity:.5}.dark .risques-table{background:#1f2937}.dark .risques-table thead{background:linear-gradient(135deg,#78350f,#92400e)}.dark .risques-table th{color:#fef3c7;border-bottom-color:#d97706}.dark .risques-table td{border-bottom-color:#374151;color:#d1d5db}.dark .risques-table tbody tr:hover{background:#374151}.dark .risque-nom{color:#f9fafb}.dark .risque-dossier{color:#9ca3af}.dark .risque-btn-voir{background:#374151;border-color:#4b5563;color:#d1d5db}.dark .risque-btn-voir:hover{background:#4b5563;border-color:#f59e0b;color:#fbbf24}.gantt-two-columns{display:flex;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000001a;overflow:hidden}.gantt-names-column{width:280px;min-width:280px;flex-shrink:0;border-right:2px solid #e5e7eb;background:#f9fafb;display:flex;flex-direction:column}.gantt-names-header{height:70px;display:flex;align-items:center;padding:0 1rem;background:#e5e7eb;border-bottom:2px solid #d1d5db;font-weight:700;font-size:.875rem;color:#1f2937}.gantt-names-list{flex:1;overflow-y:auto}.gantt-name-row{height:50px;display:flex;align-items:center;padding:0 1rem;border-bottom:1px solid #e5e7eb;font-size:.8125rem;color:#374151;transition:background .15s ease}.gantt-name-row:nth-child(odd){background:#fff}.gantt-name-row:nth-child(2n){background:#f9fafb}.gantt-name-row:hover{background:#eff6ff}.gantt-name-row.is-group{font-weight:600;color:#1f2937;background:#f3f4f6}.gantt-name-row.is-action{padding-left:2rem;font-size:.75rem;color:#6b7280}.gantt-name-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.gantt-name-status{margin-left:auto;padding:.125rem .5rem;border-radius:9999px;font-size:.625rem;font-weight:500;color:#fff;flex-shrink:0}.gantt-chart-column{flex:1;overflow-x:auto;overflow-y:hidden}#gantt-chart-actions{min-height:600px;width:100%}#gantt-chart-actions .grid .grid-row,#gantt-chart-actions .grid .grid-header{height:50px}#gantt-chart-actions .grid{display:none!important}#gantt-chart-actions svg.gantt{background:#fff}#gantt-chart-actions .bar{border-radius:4px;box-shadow:0 1px 2px #0000001a;cursor:pointer;transition:all .2s ease;height:30px!important}#gantt-chart-actions .bar:hover{filter:brightness(.95);box-shadow:0 2px 4px #0003}.action-btn-template{background:linear-gradient(135deg,#f97316,#ea580c);border-color:#f59e0b;color:#fff}.action-btn-template .action-btn-label{color:#fff;font-weight:600}.action-btn-template:hover{background:linear-gradient(135deg,#ea580c,#dc2626);border-color:#dc2626}.dark .action-btn-template{background:linear-gradient(135deg,#f97316,#ea580c);border-color:#f59e0b}.dark .action-btn-template:hover{background:linear-gradient(135deg,#ea580c,#dc2626)}.modal-template-selection{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999;padding:1rem}.modal-template-content{max-width:900px;width:95%;max-height:85vh;background:#fff;border:2px solid #d1d5db;border-radius:16px;box-shadow:0 25px 50px -12px #00000059;overflow:hidden;display:flex;flex-direction:column}.modal-template-header{padding:1.5rem 2rem;border-bottom:2px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#f97316,#d97706)}.modal-template-header h2{margin:0;font-size:1.5rem;font-weight:700;color:#fff;display:flex;align-items:center;gap:1rem}.modal-template-close{background:#fff3;border:none;color:#fff;padding:.5rem;border-radius:.5rem;cursor:pointer;transition:all .2s;display:flex;align-items:center}.modal-template-close:hover{background-color:#ffffff4d}.modal-template-body{flex:1;overflow-y:auto;padding:2rem}.template-select-group{margin-bottom:2rem}.template-select-label{display:block;font-size:.9375rem;font-weight:600;color:#374151;margin-bottom:.75rem}.template-select{width:100%;padding:.875rem 1rem;border:2px solid #d1d5db;border-radius:.75rem;font-size:1rem;background:#fff;outline:none;transition:all .2s;cursor:pointer}.template-select:focus{border-color:#f59e0b;box-shadow:0 0 0 3px #f973161a}.template-preview{background:linear-gradient(135deg,#f9fafb,#f3f4f6);border:2px solid #f59e0b;border-radius:12px;padding:1.5rem;animation:fadeInUp .3s ease}.template-preview-header{display:flex;align-items:start;gap:1rem;margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb}.template-preview-icon{background:#f59e0b;color:#fff;padding:.75rem;border-radius:.75rem;display:flex;align-items:center;justify-content:center}.template-preview-title{margin:0 0 .5rem;font-size:1.25rem;font-weight:700;color:#1f2937}.template-preview-description{margin:0;font-size:.9375rem;color:#6b7280;line-height:1.5}.template-metadata-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.25rem}.template-metadata-card{background:#fff;padding:1rem;border-radius:.75rem;border:1px solid #e5e7eb}.template-metadata-label{font-size:.75rem;font-weight:600;color:#f59e0b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem}.template-metadata-value{font-size:.9375rem;font-weight:600;color:#374151;text-transform:capitalize}.template-actions-section h4{margin:0 0 1rem;font-size:1rem;font-weight:700;color:#374151;display:flex;align-items:center;gap:.5rem}.template-actions-list{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;overflow:hidden}.template-action-item{padding:.875rem 1rem;border-bottom:1px solid #f3f4f6;display:flex;align-items:start;gap:.75rem}.template-action-item:last-child{border-bottom:none}.template-action-number{background:#f59e0b;color:#fff;width:1.5rem;height:1.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;flex-shrink:0}.template-action-description{font-size:.9375rem;color:#374151;line-height:1.5}.template-action-meta{display:flex;gap:1rem;margin-top:.5rem;font-size:.8125rem;color:#6b7280}.template-action-badge{background:#f3f4f6;padding:.25rem .5rem;border-radius:.375rem}.template-empty{background:#fff;padding:1.5rem;border-radius:.75rem;border:1px solid #e5e7eb;text-align:center;color:#9ca3af}.template-empty-icon{font-size:2rem;margin-bottom:.5rem}.template-empty-text{font-size:.9375rem;font-weight:600}.template-no-models{background:#fef3c7;border:2px solid #fbbf24;border-radius:.75rem;padding:1.5rem;text-align:center}.template-no-models-title{margin:0 0 .5rem;font-size:1.125rem;font-weight:700;color:#92400e}.template-no-models-text{margin:0;font-size:.9375rem;color:#92400e}.modal-template-footer{padding:1.25rem 2rem;border-top:2px solid #e5e7eb;display:flex;justify-content:flex-end;gap:1rem;background:#f9fafb;flex-shrink:0}.btn-cancel{padding:.75rem 1.5rem;border:2px solid #d1d5db;background:#fff;color:#6b7280;border-radius:.5rem;font-weight:600;cursor:pointer;transition:all .2s;font-size:.9375rem}.btn-cancel:hover{background-color:#f9fafb;border-color:#9ca3af}.btn-create{padding:.75rem 2rem;border:none;background:#f59e0b;color:#fff;border-radius:.5rem;font-weight:600;cursor:pointer;transition:all .2s;font-size:.9375rem}.btn-create:hover:not(:disabled){background-color:#d97706}.btn-create:disabled{background:#d1d5db;cursor:not-allowed}.modal-convert-template{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999;padding:1rem}.modal-convert-content{max-width:550px;width:95%;background:#fff;border:2px solid #d1d5db;border-radius:16px;box-shadow:0 25px 50px -12px #00000059;overflow:hidden}.modal-convert-header{padding:1.5rem 2rem;border-bottom:2px solid #e5e7eb;background:linear-gradient(135deg,#f97316,#d97706)}.modal-convert-header h2{margin:0;font-size:1.375rem;font-weight:700;color:#fff;display:flex;align-items:center;gap:1rem}.modal-convert-body{padding:2rem}.conversion-info{background:linear-gradient(135deg,#f9fafb,#f3f4f6);border-left:4px solid #f59e0b;padding:1.25rem;border-radius:.5rem;margin-bottom:1.5rem}.conversion-info p{margin:0;font-size:.9375rem;color:#374151;line-height:1.6}.element-summary{background:#fff;border:2px solid #e5e7eb;border-radius:.75rem;padding:1.5rem;margin-bottom:1.5rem}.element-summary h3{margin:0 0 1rem;font-size:1.125rem;font-weight:700;color:#1f2937;display:flex;align-items:center;gap:.5rem}.element-summary-item{display:flex;flex-direction:column;gap:.75rem}.summary-field{display:flex;flex-direction:column;gap:.25rem}.summary-label{font-size:.75rem;font-weight:600;color:#f59e0b;text-transform:uppercase;letter-spacing:.05em}.summary-value{font-size:.9375rem;font-weight:600;color:#374151}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.conversion-warning{background:#fef3c7;border:2px solid #fbbf24;border-radius:.75rem;padding:1rem;margin-bottom:1.5rem}.conversion-warning-content{display:flex;align-items:start;gap:.75rem}.conversion-warning-icon{font-size:1.25rem;flex-shrink:0}.conversion-warning-text{font-size:.875rem;color:#92400e;line-height:1.5}.conversion-confirmation{background:#fce7f3;border:2px solid #f59e0b;border-radius:.75rem;padding:1rem;text-align:center}.conversion-confirmation-text{font-size:.9375rem;color:#7c2d12;font-weight:600}.modal-convert-footer{padding:1.25rem 2rem;border-top:2px solid #e5e7eb;display:flex;justify-content:flex-end;gap:1rem;background:#f9fafb}@keyframes fadeInUp{0%{opacity:0;transform:translateY(.5rem)}to{opacity:1;transform:translateY(0)}}#gantt-chart-actions .handle-group,#gantt-chart-actions .handle{display:none!important;pointer-events:none!important}#gantt-chart-actions .bar-wrapper,#gantt-chart-actions .bar-wrapper:active{cursor:pointer!important}#gantt-chart-actions .grid-header{background:#f3f4f6!important;border-bottom:2px solid #e5e7eb!important;font-weight:600!important;color:#374151!important}#gantt-chart-actions .upper-header{background:#e5e7eb!important;font-weight:700!important;color:#1f2937!important;border-bottom:1px solid #d1d5db!important}#gantt-chart-actions .bar-label{font-size:.75rem!important;font-weight:600!important;fill:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.3)!important}.gantt-popup{background:#fff!important;border:1px solid #e5e7eb!important;border-radius:.5rem!important;box-shadow:0 4px 12px #00000026!important;padding:0!important;color:#1f2937!important;z-index:9999!important}.gantt-popup-title{background:#f9fafb!important;color:#1f2937!important;font-weight:600!important;border-bottom:1px solid #e5e7eb!important;padding:.75rem!important}.gantt-popup-content{padding:1rem!important;color:#1f2937!important}.dark .gantt-two-columns{background:#1f2937}.dark .gantt-names-column{background:#374151;border-right-color:#4b5563}.dark .gantt-names-header{background:#4b5563;border-bottom-color:#6b7280;color:#f1f5f9}.dark .gantt-name-row{color:#e5e7eb;border-bottom-color:#4b5563}.dark .gantt-name-row:nth-child(odd){background:#1f2937}.dark .gantt-name-row:nth-child(2n){background:#374151}.dark .gantt-name-row:hover{background:#3b5998}.dark .gantt-name-row.is-group{background:#4b5563;color:#f1f5f9}.dark .gantt-name-row.is-action{color:#9ca3af}.dark #gantt-chart-actions svg.gantt{background:#1f2937}.dark #gantt-chart-actions .grid-header{background:#374151!important;color:#f1f5f9!important;border-bottom-color:#4b5563!important}.dark #gantt-chart-actions .upper-header{background:#4b5563!important;color:#f1f5f9!important;border-bottom-color:#6b7280!important}.dark #gantt-chart-actions .bar{box-shadow:0 1px 2px #0000004d}.dark .gantt-popup{background:#374151!important;border-color:#4b5563!important;color:#f1f5f9!important}.dark .gantt-popup-title{background:#4b5563!important;color:#f1f5f9!important;border-bottom-color:#6b7280!important}.dark .gantt-popup-content{color:#e5e7eb!important}@media(max-width:1024px)and (min-width:768px){.gantt-two-columns{min-height:500px}.gantt-names-column{width:200px;min-width:200px}.gantt-names-header{font-size:.8125rem;padding:0 .75rem}.gantt-name-row{padding:0 .75rem;font-size:.75rem}.gantt-chart-column{overflow-x:auto;-webkit-overflow-scrolling:touch}.gantt-chart-column::-webkit-scrollbar{height:12px}.gantt-chart-column::-webkit-scrollbar-track{background:#f1f5f9;border-radius:6px}.gantt-chart-column::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:6px}}@media(max-width:767px){.gantt-two-columns{flex-direction:column;min-height:600px;max-height:80vh}.mobile-gantt-hint{display:block!important}.gantt-scroll-indicator{display:block!important;animation:pulseScroll 2s ease-in-out infinite}@keyframes pulseScroll{0%,to{opacity:1;transform:translateY(-50%) scale(1)}50%{opacity:.7;transform:translateY(-50%) scale(1.05)}}.gantt-names-column{width:100%;min-width:unset;max-height:250px;border-right:none;border-bottom:2px solid #e5e7eb}.gantt-names-header{height:50px;font-size:.875rem;padding:0 1rem}.gantt-names-list{overflow-y:auto;max-height:200px;-webkit-overflow-scrolling:touch}.gantt-name-row{height:44px;padding:0 1rem;font-size:.8125rem}.gantt-name-row.is-action{padding-left:1.5rem;font-size:.75rem}.gantt-name-text{font-size:.8125rem}.gantt-name-status{font-size:.625rem;padding:.125rem .375rem}.gantt-names-list::-webkit-scrollbar{width:8px}.gantt-names-list::-webkit-scrollbar-track{background:#f9fafb}.gantt-names-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.gantt-chart-column{flex:1;overflow-x:auto;overflow-y:hidden;min-height:350px;-webkit-overflow-scrolling:touch}#gantt-chart-actions{min-height:350px;min-width:800px}.gantt-chart-column::-webkit-scrollbar{height:14px;background:#f1f5f9}.gantt-chart-column::-webkit-scrollbar-track{background:#e5e7eb;border-radius:7px}.gantt-chart-column::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:7px;border:2px solid #e5e7eb}.gantt-chart-column::-webkit-scrollbar-thumb:active{background:#64748b}#gantt-chart-actions .grid-header,#gantt-chart-actions .upper-header{font-size:.75rem}#gantt-chart-actions .bar{height:36px!important}#gantt-chart-actions .bar-label{font-size:.7rem}}@media(max-width:374px){.gantt-two-columns{max-height:70vh}.gantt-names-column{max-height:200px}.gantt-names-list{max-height:150px}.gantt-name-row{height:40px;padding:0 .75rem;font-size:.75rem}.gantt-name-text{font-size:.75rem}.gantt-chart-column,#gantt-chart-actions{min-height:300px}#gantt-chart-actions .grid-header{font-size:.6875rem}#gantt-chart-actions .bar{height:32px!important}}.table-scroll-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;background:#fff;border-radius:.5rem}.mobile-table-hint{display:none}@media(max-width:767px){.mobile-table-hint{display:block!important}.table-scroll-wrapper{scrollbar-width:thin;scrollbar-color:#94a3b8 #e5e7eb;display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;margin-left:-1rem;margin-right:-1rem;padding-left:1rem;padding-right:1rem}.table-scroll-wrapper::-webkit-scrollbar{height:14px;background:#f1f5f9}.table-scroll-wrapper::-webkit-scrollbar-track{background:#e5e7eb;border-radius:7px}.table-scroll-wrapper::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:7px;border:2px solid #e5e7eb}.table-scroll-wrapper::-webkit-scrollbar-thumb:active{background:#64748b}.table-scroll-wrapper table{min-width:900px!important;width:auto!important;display:table!important}.table-scroll-wrapper thead th{min-width:100px!important;white-space:nowrap!important}.table-scroll-wrapper tbody td{min-width:100px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.elements-table{min-width:900px!important}.risques-table{min-width:850px!important}.data-table{min-width:800px!important}}@media(min-width:768px)and (max-width:1024px){.table-scroll-wrapper::-webkit-scrollbar{height:12px}.table-scroll-wrapper::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:6px}}.dark .table-scroll-wrapper{background:#1f2937}.dark .table-scroll-wrapper::-webkit-scrollbar{background:#374151}.dark .table-scroll-wrapper::-webkit-scrollbar-track{background:#4b5563}.dark .table-scroll-wrapper::-webkit-scrollbar-thumb{background:#6b7280;border-color:#4b5563}.dark .table-scroll-wrapper::-webkit-scrollbar-thumb:active{background:#9ca3af}.dark .mobile-table-hint,.dark .mobile-gantt-hint{background:#422006;border-color:#ca8a04;color:#fef3c7}@media(max-width:768px){.Kanban-card-modal{max-width:95vw!important;padding:0!important}.Kanban-card-modal>form>div:first-child{padding:1rem!important}.Kanban-card{padding:1rem!important}.Kanban-card-modal>form>div:last-child{padding:.75rem 1rem!important;flex-direction:column!important;gap:.5rem!important}.Kanban-card-modal>form>div:last-child button{width:100%!important;justify-content:center!important}}@media(max-width:1024px){.edit-card-modal{max-width:95vw!important;width:95vw!important}.edit-card-modal>div:first-child{padding:1rem!important}.edit-card-modal form>div[style*=grid-template-columns]{grid-template-columns:1fr!important;gap:1.5rem!important}.edit-card-modal .card-title-input-large{font-size:1.25rem!important}}@media(max-width:768px){div[data-group]>div>div:last-child{flex-direction:column!important;align-items:stretch!important}div[data-group] input[type=text],div[data-group] input[type=date]{width:100%!important;max-width:none!important}div[data-group]>div>div:last-child{gap:.5rem!important}div[data-group] button{width:100%!important;justify-content:center!important;padding:.625rem 1rem!important;font-size:.875rem!important}}@media(max-width:374px){.edit-card-modal{max-width:100vw!important;width:100vw!important;border-radius:0!important;max-height:100vh!important}.Kanban-card-modal{max-width:100vw!important;border-radius:0!important}.card-title-input-large{font-size:1.125rem!important}.edit-card-modal>div:first-child,.Kanban-card-modal>form>div:first-child{padding:.75rem!important}.Kanban-card{padding:.75rem!important}}@media(max-width:768px){.edit-select-multiple-Kanban{min-height:100px!important;font-size:.8125rem!important}select[wire\:model*="selectedElement.audit_element_type_id"],select[wire\:model*="elementForm.audit_element_type_id"]{font-size:.8125rem!important;padding:.375rem .75rem!important}}@media(max-width:640px){.status-btn{flex:1 1 calc(50% - .25rem)!important;min-width:120px!important;justify-content:center!important}div[style*="display: flex"]>.status-btn{font-size:.8125rem!important;padding:.5rem .75rem!important}}@media(max-width:768px){.edit-card-modal>div:last-child{flex-direction:column!important;gap:.75rem!important;padding:1rem!important}.edit-card-modal>div:last-child>div:last-child{width:100%!important;flex-direction:column!important}.edit-card-modal>div:last-child button,.edit-card-modal>div:last-child .btn-create{width:100%!important;justify-content:center!important}}@media(min-width:1025px){.view-tabs-wrapper{margin-bottom:1.5rem}.view-tabs{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;overflow-x:visible}}@media(min-width:897px)and (max-width:1024px){.view-tabs-wrapper{margin-bottom:1.5rem}.view-tabs{display:flex;gap:.5rem;overflow-x:auto;overflow-y:hidden;padding-bottom:.5rem;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none}.view-tabs::-webkit-scrollbar{display:none}}@media(max-width:896px){.view-tabs-wrapper{position:relative;margin-bottom:1.5rem;background:linear-gradient(to right,rgba(255,255,255,.8) 0%,transparent 10%,transparent 90%,rgba(255,255,255,.8) 100%);background-attachment:fixed;z-index:10}.view-tabs{display:flex;gap:.5rem;overflow-x:auto;overflow-y:hidden;padding:.75rem 1rem;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.view-tabs::-webkit-scrollbar{display:none}.view-tabs .tab-btn{flex-shrink:0;white-space:nowrap}.view-tabs-kpi{flex-shrink:0;margin-left:auto;padding-left:1rem;white-space:nowrap}.scroll-indicator{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;pointer-events:none;opacity:0;transition:opacity .3s ease;z-index:5}.scroll-indicator-left{left:0;background:linear-gradient(to right,rgba(0,0,0,.1) 0%,transparent 100%)}.scroll-indicator-right{right:0;background:linear-gradient(to left,rgba(0,0,0,.1) 0%,transparent 100%)}.view-tabs-wrapper.has-scroll .scroll-indicator-left,.view-tabs-wrapper.has-scroll .scroll-indicator-right{display:block}}@media(max-width:374px){.view-tabs{gap:.375rem;padding:.5rem .75rem}.tab-btn{padding:.5rem .75rem!important;font-size:.75rem!important}.tab-icon{width:1rem!important;height:1rem!important}}@media(hover:none)and (pointer:coarse){.view-tabs{padding:1rem!important}}.toggle-Kanban-btn{display:flex;align-items:center;gap:.5rem;padding:.625rem 1rem;border:1px solid #d1d5db;background:#fff;border-radius:.5rem;font-size:.875rem;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s ease}.toggle-Kanban-btn:hover{background:#f9fafb;border-color:#9ca3af;color:#374151;box-shadow:0 2px 4px #0000001a}.toggle-Kanban-icon{width:1.25rem;height:1.25rem}.view-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:2px solid #e5e7eb;padding-bottom:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.view-tabs::-webkit-scrollbar{height:4px}.view-tabs::-webkit-scrollbar-track{background:#f3f4f6}.view-tabs::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.tab-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:transparent;border:none;border-bottom:3px solid transparent;color:#6b7280;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;position:relative;margin-bottom:-2px;white-space:nowrap;flex-shrink:0}.tab-btn:hover{color:#374151;background:#f9fafb}.tab-btn.active{color:#ea580c;border-bottom-color:#ea580c;background:#fff7ed}.tab-icon{width:1.125rem;height:1.125rem}.view-tabs-kpi{margin-left:auto;display:flex;align-items:center;gap:.75rem;padding:.5rem 0;white-space:nowrap}.kpi-label{font-size:.875rem;font-weight:600;color:#6b7280}.kpi-value{font-size:1.125rem;font-weight:700;color:#10b981}.data-table{width:100%;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;overflow:hidden;box-shadow:0 1px 3px #0000001a}@media(max-width:640px){.view-tabs{gap:.25rem;margin-bottom:1rem;padding-bottom:.5rem}.tab-btn{padding:.625rem 1rem;font-size:.75rem;gap:.25rem}.tab-btn span{display:none}.tab-btn.active span{display:inline}.tab-icon{width:1rem;height:1rem}.view-tabs-kpi{position:absolute;bottom:-2rem;right:0;gap:.5rem;margin-left:0;padding:0}.kpi-label{font-size:.7rem}.kpi-value{font-size:.875rem}.data-table{font-size:.75rem;border-radius:.375rem}.data-table th{padding:.5rem .75rem;font-size:.7rem}.data-table td{padding:.5rem .75rem}.data-table tbody tr:hover{background:#fff}.data-table tbody tr.hover-row:hover{background:#fafafa!important;box-shadow:inset 0 0 6px #f9731614}}@media(min-width:641px)and (max-width:1024px){.view-tabs{gap:.35rem;margin-bottom:1.25rem}.tab-btn{padding:.625rem 1rem;font-size:.8125rem;gap:.375rem}.tab-icon{width:1rem;height:1rem}.view-tabs-kpi{gap:.625rem}.kpi-label{font-size:.8rem}.kpi-value{font-size:1rem}.data-table{font-size:.8125rem}.data-table th{padding:.625rem .875rem;font-size:.8125rem}.data-table td{padding:.625rem .875rem}}.data-table th{background:#fff7ed;color:#9a3412;font-weight:600;font-size:.875rem;padding:.75rem 1rem;text-align:left;border-bottom:2px solid #fed7aa}.data-table td{padding:.75rem 1rem;border-bottom:1px solid #f3f4f6;font-size:.875rem;color:#374151}.data-table tr:last-child td{border-bottom:none}.data-table tbody tr:hover{background:#fafafa}.data-table tbody tr.hover-row{cursor:pointer;transition:all .15s ease}.data-table tbody tr.hover-row:hover{background:#f3f4f6!important;box-shadow:inset 0 0 8px #f973161a}.data-table tbody tr.hover-row:active{background:#e5e7eb!important;transform:scale(.995)}.badge-table{display:inline-block;padding:.25rem .625rem;border-radius:.375rem;font-size:.75rem;font-weight:500}.filters-grid-compact{display:grid;gap:.75rem}.kanban-separator{border:none;border-top:1px solid #e5e7eb;margin:1rem 0}.detail-description{font-size:.875rem;color:#374151;line-height:1.5;margin-top:.25rem;padding:.75rem;background:#f9fafb;border-radius:.375rem;border-left:3px solid #3b82f6}.responsables-list{font-size:.875rem;color:#374151;font-weight:500;margin-top:.25rem}.relationship-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem}.relationship-tag{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .75rem;border-radius:1rem;font-size:.75rem;font-weight:500}.gantt-name-row.clickable-row{cursor:pointer;transition:background-color .15s ease;border-radius:.25rem}.gantt-name-row.clickable-row:hover{background-color:#f3f4f6}.gantt-name-row.clickable-row:active{background-color:#e5e7eb;transform:scale(.98)}@media(min-width:1024px){.kanban-relationships .responsables-section{border-left:1px solid #e5e7eb;padding-left:1rem}}.progress-section{text-align:right;justify-self:end;align-self:start}.kpi-section{display:flex;flex-direction:column;gap:1rem;align-self:start;padding:1rem;border-radius:.5rem}.kpi-card{background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;padding:1rem;text-align:center;transition:all .2s ease;min-height:80px}.kpi-card:hover{background:#f9fafb;border-color:#d1d5db;box-shadow:0 2px 4px #0000000d}.kpi-label{font-size:.75rem;color:#6b7280;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.progress-circle-container{position:relative;display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.progress-circle{width:80px;height:80px;transform:rotate(-90deg);transition:all .3s ease}.progress-bg{stroke:#e5e7eb}.progress-bar{stroke:#10b981;transition:stroke-dashoffset .5s ease}.progress-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:1.25rem;font-weight:700;color:#10b981}.kpi-icon-container{display:flex;flex-direction:column;align-items:center;gap:.5rem;margin-bottom:.5rem}.kpi-icon{width:3rem;height:3rem;stroke-width:1.5}.kpi-icon-actions,.kpi-icon-elements{color:#f59e0b}.kpi-number{font-size:1.75rem;font-weight:700;line-height:1;margin:0}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.stat-card{text-align:center;padding:.75rem;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem}.stat-number{font-size:1.5rem;font-weight:700;margin-bottom:.25rem}.stat-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.filters-section{background:#fff;border-radius:.5rem;padding:1rem;margin-bottom:1.5rem;border:1px solid #e5e7eb}.modern-filters-section{background:#fff;border-radius:.75rem;padding:1rem;margin-bottom:.5rem;box-shadow:0 1px 2px #0000000d;border:1px solid #e5e7eb}.modern-filters-section{color:#374151;display:grid;grid-template-columns:1fr auto;grid-auto-rows:auto;row-gap:.75rem}.filters-header{display:flex;align-items:center;grid-column:1 / 2;margin:0}.filters-title{display:flex;align-items:center;gap:.5rem;font-size:1rem;font-weight:600;color:#374151;margin:0}.filter-icon{width:1.25rem;height:1.25rem;color:#3b82f6}.audit-view-actions-section{grid-column:2 / 3;justify-self:end;align-self:center}.action-segment-bar{display:flex;background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:.25rem;gap:.25rem;box-shadow:0 1px 2px #0000000d}.segment-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border-radius:.5rem;font-size:.875rem;font-weight:500;text-decoration:none;transition:all .2s ease;border:none;cursor:pointer;min-width:0;flex-shrink:0}.segment-icon{width:1.125rem;height:1.125rem;flex-shrink:0}.segment-label{white-space:nowrap;font-weight:500}.segment-btn-primary,.segment-btn-secondary,.segment-btn-info,.segment-btn-success{background:#fff;color:#6b7280;border:1px solid #d1d5db}.segment-btn-primary:hover,.segment-btn-secondary:hover,.segment-btn-info:hover,.segment-btn-success:hover{background:#f9fafb;color:#374151;border-color:#9ca3af;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}@media(max-width:1024px){.action-segment-bar{flex-wrap:wrap;justify-content:center}.segment-btn{padding:.5rem .75rem;font-size:.8125rem}.segment-icon{width:1rem;height:1rem}}@media(max-width:768px){.action-segment-bar{flex-direction:column;padding:.5rem}.segment-btn{justify-content:center;padding:.75rem}.segment-label{font-size:.875rem}}.modern-filters-grid{grid-column:1 / -1}.modern-filters-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.filter-card{background:#fff;border-radius:.5rem;padding:.75rem;border:1px solid #e5e7eb;transition:all .2s ease}.filter-card:hover{background:#f9fafb;border-color:#d1d5db}.reset-card{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #d1d5db}.modern-filter-label{display:flex;align-items:center;gap:.375rem;font-size:.75rem;font-weight:600;color:#374151;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:.025em}.label-icon{width:.875rem;height:.875rem;color:#6b7280}.modern-filter-select{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;background:#fff;color:#374151;transition:all .2s ease;appearance:none;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="%236b7280"><path stroke-linecap="round" stroke-linejoin="round" d="M19.5 8.25l-7.5 7.5-7.5-7.5"/></svg>');background-repeat:no-repeat;background-position:right .5rem center;background-size:.875rem}.modern-filter-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.modern-reset-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#f3f4f6;color:#374151;border:1px solid #d1d5db;border-radius:.375rem;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease}.modern-reset-btn:hover{background:#e5e7eb;border-color:#9ca3af}.reset-btn-icon{width:1rem;height:1rem}.filters-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;align-items:end}.status-a_faire .kanban-count{background:#ef4444}.status-en_cours .kanban-count{background:#f59e0b}.status-termine .kanban-count{background:#10b981}.status-annule .kanban-count{background:#f59e0b}.kanban-main-section{margin-bottom:2rem}.kanban-container .status-annule{min-width:255px}.priority-basse{background:#dcfce7;color:#166534}.priority-normale{background:#fefcdb;color:#1e40af}.priority-haute{background:#fee6c7;color:#92400e}.type-verification{background:#fefcdb;color:#1e40af}.type-conformite{background:#dcfce7;color:#166534}.type-action{background:#fee6c7;color:#92400e}.status-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.5rem 1rem;border-radius:9999px;font-size:.8125rem;font-weight:600;border:2px solid transparent;cursor:pointer;transition:all .2s ease;outline:none}.status-btn:focus{outline:none;box-shadow:0 0 0 3px #0000001a}.status-btn-inactive{background:#f3f4f6;color:#6b7280;border-color:#e5e7eb}.status-btn-inactive:hover:not(:disabled){background:#e5e7eb;color:#374151;border-color:#d1d5db;transform:translateY(-1px)}.status-btn-active.status-btn-a_faire{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border-color:#dc2626;box-shadow:0 4px 6px -1px #ef44444d}.status-btn-active.status-btn-en_cours{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border-color:#d97706;box-shadow:0 4px 6px -1px #f59e0b4d}.status-btn-active.status-btn-termine{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border-color:#059669;box-shadow:0 4px 6px -1px #10b9814d}.status-btn-active.status-btn-annule{background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;border-color:#ea580c;box-shadow:0 4px 6px -1px #f973164d}.status-btn-active:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.05)}.dark .status-btn-inactive{background:#374151;color:#9ca3af;border-color:#4b5563}.dark .status-btn-inactive:hover:not(:disabled){background:#4b5563;color:#d1d5db;border-color:#6b7280}.dark .status-btn:focus{box-shadow:0 0 0 3px #ffffff1a}.type-observation{background:#f3f4f6;color:#374151}.type-non_conformite{background:#fee2e2;color:#991b1b}.badge-type-element{display:inline-flex;align-items:center;padding:.25rem .5rem;border:1px solid #6b7280;background-color:#fff;color:#1f2937;border-radius:.375rem;font-size:.75rem;font-weight:500;text-transform:capitalize}@media(max-width:1024px){.kanban-container{grid-template-columns:repeat(2,1fr)}.audit-view-title-section{flex-direction:column;align-items:flex-start;gap:1rem}.kpi-horizontal-section{width:100%;justify-content:space-between}.filters-grid{grid-template-columns:repeat(2,1fr)}.action-buttons{justify-content:flex-end}}@media(max-width:640px){.kanban-container,.filters-grid{grid-template-columns:1fr}.audit-view-title-section{padding:1rem}.audit-view-title-container{gap:.5rem}.title-icon-audit-view{width:2.75rem;height:2.75rem;min-width:2.75rem;padding:.5rem}.title-icon-audit-view svg{width:1.5rem;height:1.5rem}.audit-view-main-title{font-size:1.25rem}.kpi-horizontal-section{flex-direction:column;gap:.5rem}.kpi-card-horizontal{padding:.75rem 1rem}.progress-circle-container-small{width:2rem;height:2rem}.progress-text-small{font-size:.625rem}.kpi-icon-container-small{width:2rem;height:2rem}.kpi-icon-small{width:1rem;height:1rem}.kpi-number-small{font-size:1.125rem}.kpi-label-horizontal{font-size:.625rem}}.modal-overlay{position:fixed;inset:0;background-color:#00000080;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem}.modal-content{background:#fff;border-radius:.5rem;box-shadow:0 10px 25px #0000004d;max-width:32rem;width:100%;max-height:90vh;overflow-y:auto;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-50px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{padding:1.5rem 1.5rem 0;border-bottom:1px solid #e5e7eb;margin-bottom:1rem}.modal-body{padding:0 1.5rem 1.5rem}.modal-footer{background:#f9fafb;padding:1rem 1.5rem;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:.75rem}.form-group{margin-bottom:1rem}.form-label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.25rem}.form-label .required{color:#ef4444}.form-input,.form-select,.form-textarea{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease-in-out;border:1px solid transparent}.btn-primary{background-color:#3b82f6;color:#fff}.btn-primary:hover{background-color:#2563eb}.btn-secondary{background-color:#fff;color:#374151;border-color:#d1d5db}.btn-secondary:hover{background-color:#f9fafb}.error-message{color:#ef4444;font-size:.75rem;margin-top:.25rem}.responsables-badges{display:flex;flex-wrap:wrap;gap:.25rem}.responsable-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .75rem;background:#f59e0b;color:#f3f4f6;border-radius:.5rem;font-size:.875rem;font-weight:500}.responsable-badge svg{width:.75rem;height:.75rem}.responsable-search-wrapper{position:relative;margin-bottom:.5rem}.search-input{padding-left:2.5rem}.search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);width:1rem;height:1rem;color:#6b7280;pointer-events:none}.multiple-select{min-height:120px;background-color:#fff;border:1px solid #d1d5db;border-radius:.5rem;padding:.75rem;font-size:.875rem;box-shadow:0 1px 3px #0000001a;transition:all .2s ease}.multiple-select option{padding:.75rem 1rem;border-radius:.375rem;margin-bottom:.25rem;font-weight:500;transition:all .2s ease;border:1px solid transparent}.multiple-select option:checked{background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;border-color:#ea580c;box-shadow:0 2px 4px #f973164d}.multiple-select option:hover{background:#fef3e2;border-color:#fed7aa;color:#ea580c}.multiple-select option:checked:hover{background:linear-gradient(135deg,#ea580c,#dc2626);color:#fff}.multiple-select:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f9731633}.large-modal{max-width:1000px;max-height:95vh;height:95vh;overflow:hidden;display:flex;flex-direction:column}.edit-card-modal{max-width:1200px!important;padding:0!important}.edit-Kanban-card{background:#fff;border:2px solid #e5e7eb;border-radius:1rem;padding:2rem;min-height:600px}.card-title-input-large{font-family:inherit}.card-title-input-large:focus{border-bottom-color:#f97316!important;border-bottom-style:solid!important}.card-title-input-large::placeholder{color:#fdba74;font-weight:600}.card-title-input-large:read-only{border-bottom-style:solid!important;border-bottom-color:#d1d5db!important;color:#6b7280;cursor:not-allowed}.modal-body{flex:1;overflow-y:auto;padding:1rem .5rem 1rem 1rem}.modal-header{flex-shrink:0;border-bottom:1px solid #e5e7eb;padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center;background:#f8fafc}.modal-footer{flex-shrink:0;border-top:1px solid #e5e7eb;padding:1rem 1.5rem;background:#f8fafc}.edit-modal{max-width:1200px;border-radius:1rem;box-shadow:0 25px 50px -12px #00000040}.edit-modal-header{background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;padding:2rem 2rem 1rem;border-radius:1rem 1rem 0 0;position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center}.edit-modal-header:before{content:"";position:absolute;inset:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');opacity:.3}.edit-modal-title{font-size:1.25rem;font-weight:600;margin:0;position:relative;z-index:1;display:flex;align-items:center;gap:.5rem}.edit-modal-title svg{width:1rem;height:1rem}.modal-close-btn{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:.5rem;padding:.5rem;cursor:pointer;transition:all .2s ease;position:relative;z-index:1;flex-shrink:0}.modal-close-btn:hover{background:#dc2626cc;border-color:#dc2626;transform:scale(1.05)}.modal-close-btn svg{color:#fff}.modal-close-btn:hover svg{color:#fff}.edit-form-container{padding:2rem;background:#fff}.form-section{background:#f8fafc;border-radius:.75rem;padding:1.5rem;margin-bottom:1.5rem;border:1px solid #e2e8f0;transition:all .2s ease}.form-section:hover{border-color:#cbd5e1;box-shadow:0 4px 6px -1px #0000001a}.section-title{font-size:1.125rem;font-weight:600;color:#374151;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.section-icon{width:1rem;height:1rem;color:#f59e0b}.enhanced-form-group{margin-bottom:1.25rem}.enhanced-form-label{display:block;font-size:.875rem;font-weight:600;color:#374151;margin-bottom:.5rem}.enhanced-form-input,.enhanced-form-select,.enhanced-form-textarea{width:100%;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;background:#fff;color:#374151;transition:all .2s ease;box-shadow:0 1px 2px #0000000d}.enhanced-form-input:focus,.enhanced-form-select:focus,.enhanced-form-textarea:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f973161a,0 1px 2px #0000000d}.file-input-wrapper{position:relative;display:inline-block;width:100%}.file-input{position:absolute;opacity:0;width:100%;height:100%;cursor:pointer}.file-input-label{display:block;width:100%;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;background:#fff;color:#374151;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 2px #0000000d}.file-input:focus+.file-input-label,.file-input-wrapper:focus-within .file-input-label{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f973161a,0 1px 2px #0000000d}.file-input:hover+.file-input-label,.file-input-wrapper:hover .file-input-label{border-color:#9ca3af;background:#f9fafb}.file-input-empty{font-style:italic;color:#9ca3af;font-weight:400}.search-field-container{position:relative;margin-bottom:.75rem}.search-field{width:100%;padding:.75rem 1rem .75rem 2.5rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;background:#fff;transition:all .2s ease}.search-field:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f973161a}.search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);width:1rem;height:1rem;color:#9ca3af;pointer-events:none}.enhanced-select-container{border:1px solid #d1d5db;border-radius:.5rem;background:#fff;max-height:200px;overflow-y:auto;box-shadow:0 4px 6px -1px #0000001a}.enhanced-select-option{padding:.5rem .75rem;cursor:pointer;transition:all .1s ease;border-bottom:1px solid #f3f4f6;display:flex;align-items:center;gap:.375rem;font-size:.625rem;background:#fff;color:#6b7280}.enhanced-select-option:last-child{border-bottom:none}.enhanced-select-option:hover{background:#f9fafb;color:#374151}.enhanced-select-option.selected{background:#f3f4f6;color:#4b5563;font-weight:500;border-left:3px solid #f59e0b}.option-checkbox{width:1rem;height:1rem;border:1px solid #d1d5db;border-radius:.25rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.selected-items{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.selected-item{display:flex;align-items:center;gap:.375rem;background:#f3f4f6;color:#4b5563;padding:.25rem .5rem;border-radius:.375rem;font-size:.5rem;font-weight:500;border-left:2px solid #f59e0b}.remove-item{cursor:pointer;color:#6b7280;transition:color .2s ease}.remove-item:hover{color:#ef4444}.enhanced-modal-footer{background:linear-gradient(to right,#f8fafc,#f1f5f9);padding:1.5rem 2rem;border-radius:0 0 1rem 1rem;border-top:1px solid #e2e8f0}.enhanced-btn{padding:.25rem .75rem;border-radius:.5rem;font-size:.75rem;font-weight:600;transition:all .2s ease;border:none;cursor:pointer;display:inline-flex;align-items:center;gap:.375rem}.enhanced-btn svg{width:.875rem;height:.875rem}.enhanced-btn-primary{background:#fff;color:#6b7280;border:1px solid #d1d5db;box-shadow:0 1px 2px #0000000d}.enhanced-btn-primary:hover{background:#f9fafb;color:#374151;border-color:#9ca3af;transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000001a}.enhanced-btn-secondary{background:#fff;color:#6b7280;border:1px solid #d1d5db}.enhanced-btn-secondary:hover{background:#f9fafb;border-color:#9ca3af}.enhanced-btn-primary:disabled{background:transparent!important;color:#dc2626!important;border:2px solid #dc2626!important;cursor:not-allowed!important;opacity:1!important;box-shadow:none!important;transform:none!important}.enhanced-btn-primary:disabled:hover{background:#fef2f2!important;border-color:#b91c1c!important;color:#b91c1c!important;transform:none!important;box-shadow:none!important}.enhanced-btn-primary:disabled svg{stroke:#dc2626!important}.enhanced-btn-primary:disabled:hover svg{stroke:#b91c1c!important}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1rem}.form-group.full-width{grid-column:span 2}.add-form{background:#f9fafb;border-radius:.375rem;padding:1rem;margin-bottom:1rem}.unified-content{display:flex;flex-direction:column;gap:1rem;padding-bottom:1rem}.section-block{border:1px solid #e5e7eb;border-radius:.375rem;padding:1rem;background:#fafafa;flex-shrink:0}.section-title{font-size:1rem;font-weight:600;color:#111827;margin-bottom:1rem;padding-bottom:.375rem;border-bottom:1px solid #e5e7eb}.items-list{max-height:200px;overflow-y:auto}.action-card{border-left:4px solid #3b82f6}.action-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.action-info{flex:1}.action-controls{flex-shrink:0}.validated-badge{display:inline-flex;align-items:center;gap:.25rem;background:#10b981;color:#fff;padding:.125rem .375rem;border-radius:.25rem;font-size:.6875rem;font-weight:500}.validation-info{margin-top:.375rem}.btn-sm{padding:.25rem .5rem;font-size:.75rem;border-radius:.25rem}.btn-success{background:#10b981;color:#fff;border:1px solid #10b981}.btn-success:hover{background:#059669;border-color:#059669}.btn-secondary{background:#6b7280;color:#fff;border:1px solid #6b7280}@media(max-height:800px){.large-modal{max-height:98vh;height:98vh}.section-block{padding:.75rem}.items-list{max-height:150px}.unified-content{gap:.75rem}}.attachments-section{margin-top:1rem}.attachments-content{display:flex;flex-direction:column;gap:.75rem}.attachments-grid{display:flex;flex-direction:column;gap:.375rem;margin-bottom:1rem}.attachment-card{display:flex;align-items:center;gap:.5rem;padding:.375rem .5rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:.375rem;transition:all .2s ease;cursor:pointer}.attachment-card:hover{background:#f3f4f6;border-color:#d1d5db}.attachment-info{flex:1;min-width:0}.attachment-name{font-weight:400;color:#374151;font-size:.8125rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-actions{display:flex;gap:.25rem;flex-shrink:0}.attachment-detail-info{margin-bottom:1.5rem}.detail-row{display:flex;margin-bottom:.75rem;align-items:flex-start}.detail-label{font-weight:600;color:#374151;min-width:120px;flex-shrink:0}.detail-value{color:#6b7280;word-break:break-all}.attachment-detail-actions{display:flex;gap:.5rem;justify-content:center;padding-top:1rem;border-top:1px solid #e5e7eb}.btn{display:inline-flex;align-items:center;padding:.375rem .75rem;border-radius:.375rem;font-size:.8rem;font-weight:500;text-decoration:none;border:2px solid #f59e0b;background:#fff;color:#6b7280;cursor:pointer;transition:all .2s}.btn:hover{background:#fef3e2;border-color:#ea580c;color:#555}.attachments-inline-layout{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.attachments-list{display:flex;flex-wrap:wrap;gap:.75rem}.attachment-name-only{color:#3b82f6;cursor:pointer;text-decoration:none;font-size:.875rem;transition:color .2s}.attachment-name-only:hover{color:#2563eb;text-decoration:underline}.attachment-modal-layout{display:grid;grid-template-columns:1fr 350px;gap:2rem;min-height:80vh}.attachment-preview{border:1px solid #e5e7eb;border-radius:.5rem;overflow:hidden;background:#f9fafb;display:flex;align-items:center;justify-content:center;min-height:80vh}.preview-placeholder{display:flex;flex-direction:column;align-items:center;gap:.5rem;color:#6b7280}.attachment-preview iframe,.attachment-preview img{width:100%;height:100%;border:none}.attachment-preview img{object-fit:contain}.btn-secondary{background:#6b7280;color:#fff}.btn-secondary:hover{background:#4b5563}@media(max-width:1200px){.attachment-modal-layout{grid-template-columns:1fr;gap:1.5rem;min-height:70vh}.attachment-preview{order:2;min-height:60vh}}@media(max-width:768px){.attachment-modal-layout{grid-template-columns:1fr;gap:1rem;min-height:60vh}.attachment-preview{order:2;min-height:50vh}}.btn-attachment-action{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid #d1d5db;background:#fff;color:#6b7280;border-radius:.375rem;cursor:pointer;transition:all .2s ease}.btn-attachment-action:hover{background:#f9fafb;color:#374151;border-color:#9ca3af}.btn-attachment-action.btn-danger:hover{background:#fee2e2;color:#dc2626;border-color:#fca5a5}.btn-add-attachment{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .75rem;background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:.375rem;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-add-attachment:hover{background:#f9fafb;border-color:#9ca3af}.btn-add-attachment svg{width:.875rem;height:.875rem}@media(max-width:640px){.attachments-grid{grid-template-columns:1fr}.attachment-card{padding:.5rem}.attachment-name{font-size:.8125rem}}@media(max-width:1024px){.audit-view-info{grid-template-columns:1fr;gap:1.5rem}.kpi-section{flex-direction:row;gap:1rem}.kpi-card{flex:1}.kanban-container{grid-template-columns:repeat(2,1fr);gap:1rem}.kanban-cancelled-grid{grid-template-columns:repeat(2,1fr)}.modern-filters-section{grid-template-columns:1fr;gap:1rem}.filters-header{grid-column:1 / -1}.audit-view-actions-section{grid-column:1 / -1;justify-self:center}.modern-filters-grid{grid-template-columns:repeat(2,1fr)}.edit-modal{max-width:95vw}.attachment-modal-layout{grid-template-columns:1fr;gap:1rem}.form-grid{grid-template-columns:1fr}}@media(max-width:768px){.kanban-title{font-size:1.25rem}.kanban-details{grid-template-columns:1fr;gap:.75rem}.relationship-tags{flex-direction:column;gap:.375rem}.kpi-section{flex-direction:column;gap:.75rem}.kanban-container,.kanban-cancelled-grid{grid-template-columns:1fr}.audit-view-controls-header{flex-direction:column;gap:1rem}.modern-filters-grid{grid-template-columns:1fr}.action-segment-bar{flex-direction:column}.segment-btn{justify-content:center;width:100%}.modal-overlay{padding:.5rem}.modal-content{max-width:100%;max-height:95vh}.large-modal{max-width:100%;height:95vh}.edit-modal-header,.edit-form-container,.form-section{padding:1rem}.kanban-card{padding:.75rem}.card-badges,.card-stats{flex-direction:column;gap:.375rem}}@media(max-width:480px){.kanban-title{font-size:1.125rem}.section-title{font-size:.875rem}.kanban-header{padding:1rem}.kanban-column{padding:.75rem}.kanban-card{padding:.625rem}.segment-btn{padding:.5rem;font-size:.75rem}.segment-icon{width:.875rem;height:.875rem}.modal-footer{flex-direction:column;gap:.5rem}.enhanced-btn{width:100%;justify-content:center}}.dark .kanban-header{background:#1f2937;border-color:#374151}.dark .kanban-column{background:#1f2937}.dark .kanban-card{background:#111827;border-color:#374151}.dark .kanban-card:hover{background:#1f2937}.dark .modern-filters-section{background:#1f2937;border-color:#374151}.dark .filter-card{background:#111827;border-color:#374151}.dark .filter-card:hover{background:#1f2937}.dark .modern-filter-select{background:#111827;color:#e5e7eb;border-color:#4b5563}.dark .modal-content{background:#1f2937;color:#e5e7eb}.dark .edit-Kanban-card{background:#111827!important;border-color:#374151!important}.dark .card-title-input-large{color:#fb923c;border-bottom-color:#92400e}.dark .card-title-input-large:focus{border-bottom-color:#f97316!important}.dark .card-title-input-large::placeholder{color:#c2410c}.dark .card-title-input-large:read-only{color:#9ca3af;border-bottom-color:#4b5563!important}.dark .modal-header,.dark .modal-footer{background:#111827;border-color:#374151}.dark .edit-form-container{background:#1f2937}.dark .enhanced-form-input,.dark .enhanced-form-select,.dark .enhanced-form-textarea,.dark .file-input-label{background:#111827;color:#e5e7eb;border-color:#4b5563}.dark .file-input:focus+.file-input-label,.dark .file-input-wrapper:focus-within .file-input-label{border-color:#f59e0b;box-shadow:0 0 0 3px #f9731633,0 1px 2px #0000004d}.dark .file-input:hover+.file-input-label,.dark .file-input-wrapper:hover .file-input-label{border-color:#6b7280;background:#1f2937}.dark .file-input-empty{color:#6b7280}.dark .kanban-title,.dark .section-title,.dark .card-title,.dark .detail-value,.dark .detail-value-inline,.dark .responsables-list,.dark .kpi-number,.dark .stat-number{color:#fff!important}.dark .kanban-reference,.dark .detail-label,.dark .detail-label-inline,.dark .card-meta,.dark .stat-item,.dark .filter-label,.dark .stat-label,.dark .kpi-label{color:#d1d5db!important}.dark .modern-filter-label,.dark .enhanced-form-label,.dark .form-label{color:#e5e7eb!important}.dark .detail-description{background:#111827;border-color:#3b82f6;color:#d1d5db}.dark .kpi-card{background:#111827;border-color:#374151}.dark .kpi-card:hover{background:#1f2937;border-color:#4b5563}.dark .stat-card{background:#111827}.dark .section-block,.dark .attachment-card{background:#111827;border-color:#374151}.dark .attachment-card:hover{background:#1f2937}.dark .attachment-name{color:#d1d5db}.dark .segment-btn-primary,.dark .segment-btn-secondary,.dark .segment-btn-info,.dark .segment-btn-success{background:#fff;color:#6b7280;border-color:#d1d5db}.dark .segment-btn-primary:hover,.dark .segment-btn-secondary:hover,.dark .segment-btn-info:hover,.dark .segment-btn-success:hover{background:#f9fafb;color:#374151;border-color:#9ca3af}.dark .btn-secondary{background:#374151;color:#d1d5db;border-color:#4b5563}.dark .btn-secondary:hover{background:#4b5563}.dark .enhanced-btn-secondary{background:#374151;color:#d1d5db;border-color:#4b5563}.dark .enhanced-btn-secondary:hover{background:#4b5563}.dark .enhanced-select-option{background:#111827;color:#9ca3af;border-color:#374151}.dark .enhanced-select-option:hover{background:#1f2937;color:#d1d5db}.dark .enhanced-select-option.selected{background:#374151;color:#e5e7eb}.dark .kanban-cancelled-container,.dark .action-segment-bar{background:#111827;border-color:#374151}.dark .search-field{background:#111827;color:#e5e7eb;border-color:#4b5563}.dark .preview-placeholder{color:#9ca3af}.dark .modern-reset-btn{background:#374151;color:#d1d5db;border-color:#4b5563}.dark .modern-reset-btn:hover{background:#4b5563}.dark .selected-item{background:#374151;color:#d1d5db}.dark .kanban-separator{border-color:#374151}.dark .enhanced-modal-footer{background:linear-gradient(to right,#111827,#1f2937);border-color:#374151}.dark [wire\:loading][wire\:target=openElementDetail]>div{background:#1f2937!important;color:#e5e7eb!important}.dark [wire\:loading][wire\:target=openElementDetail] span{color:#9ca3af!important}.kanban-card{cursor:pointer;-webkit-user-select:none;user-select:none}.dark .info-card{background:#1f2937;border-color:#374151}.dark .card-header{background:#374151;border-bottom-color:#4b5563}.dark .card-title{color:#fbbf24}.dark .card-icon{color:#f59e0b}.dark .definition-term{background:#111827;color:#9ca3af}.dark .attachment-name-only{background:#374151;color:#e5e7eb;border-color:#4b5563}.dark .site-badge-small,.dark .responsable-badge{background:#f9731633;color:#fb923c}.dark .definition-item .site-badge-small,.dark .definition-item .responsable-badge{background:#f9731633!important;color:#fb923c!important}.dark .keyword-badge{background:#f9731633;color:#fb923c}.dark .action-btn{background:linear-gradient(135deg,#1f2937,#111827);border-color:#4b5563}.dark .action-btn:before{background:linear-gradient(135deg,#f9731626,#ea580c26)}.dark .action-btn:hover{border-color:#fb923c;box-shadow:0 12px 24px -8px #f973164d}.dark .action-btn-icon{color:#fb923c}.dark .action-btn:hover .action-btn-icon{color:#fdba74}.dark .action-btn-label{color:#e5e7eb}.dark .action-btn:hover .action-btn-label{color:#fb923c}.dark .action-btn.validate-btn{border-color:#10b981}.dark .action-btn.validate-btn:hover{border-color:#34d399;box-shadow:0 12px 24px -8px #10b98166}.dark .action-btn.validate-btn .action-btn-icon{color:#34d399}.dark .action-btn.validate-btn:hover .action-btn-icon{color:#6ee7b7}.dark .action-btn.validate-btn .action-btn-label{color:#a7f3d0}.dark .action-btn.delete-btn{background:linear-gradient(135deg,#7f1d1d,#450a0a);border-color:#ef4444}.dark .action-btn.delete-btn:hover{border-color:#f87171;box-shadow:0 12px 24px -8px #ef444466}.dark .action-btn.delete-btn .action-btn-icon{color:#f87171}.dark .action-btn.delete-btn:hover .action-btn-icon{color:#fca5a5}.dark .action-btn.delete-btn .action-btn-label{color:#fecaca}.dark .toggle-Kanban-btn{background:#374151;color:#9ca3af;border-color:#4b5563}.dark .toggle-Kanban-btn:hover{background:#4b5563;border-color:#6b7280;color:#d1d5db}.dark .kpi-card-horizontal{background:linear-gradient(135deg,#374151,#1f2937);border-color:#4b5563}.dark .kpi-card-horizontal:hover{background:linear-gradient(135deg,#4b5563,#374151);border-color:#6b7280}.dark .kpi-label-horizontal{color:#9ca3af}.dark .kpi-number-small{color:#e5e7eb}.dark .view-tabs{border-bottom-color:#374151}.dark .tab-btn{color:#9ca3af}.dark .tab-btn:hover{color:#d1d5db;background:#374151}.dark .tab-btn.active{color:#fb923c;border-bottom-color:#fb923c;background:#374151}.dark .data-table th{background:#374151;color:#fb923c;border-bottom-color:#4b5563}.dark .data-table td{color:#d1d5db;border-bottom-color:#374151}.dark .data-table tbody tr:hover{background:#374151}.dark .data-table tbody tr.hover-row:hover{background:#374151!important;box-shadow:inset 0 0 8px #f9731633}.dark .data-table tbody tr.hover-row:active{background:#4b5563!important}.dark .gantt-name-row.clickable-row:hover{background-color:#374151}.dark .gantt-name-row.clickable-row:active{background-color:#4b5563}.pagination-controls{display:flex;justify-content:space-between;align-items:center;margin-top:1rem;padding:1rem;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem}.pagination-info{font-size:.875rem;color:#6b7280}.pagination-buttons{display:flex;gap:.5rem}.pagination-btn{padding:.5rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;font-weight:500;color:#374151;cursor:pointer;transition:all .2s ease}.pagination-btn:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.dark .pagination-controls{background:#1f2937;border-color:#374151}.dark .pagination-info{color:#9ca3af}.dark .pagination-btn{background:#374151;border-color:#4b5563;color:#d1d5db}.dark .pagination-btn:hover:not(:disabled){background:#4b5563;border-color:#6b7280}.modal-overlay{position:fixed;inset:0;background-color:#0000004d;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:9999;padding:2rem;animation:fadeInFast .1s ease-out}@keyframes fadeInFast{0%{opacity:0}to{opacity:1}}@keyframes slideUpFast{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.modal-content{background:#fff;border-radius:12px;max-width:48rem;width:100%;max-height:85vh;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;border:none;display:flex;flex-direction:column;animation:slideUpFast .15s ease-out}.edit-modal{max-width:56rem}.large-modal{max-width:80rem}.edit-modal-header,.modal-header{background:#fff;border-bottom:1px solid #f3f4f6;padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.edit-modal-title,.modal-title{color:#111827;font-size:1.125rem;font-weight:600;margin:0;display:flex;align-items:center;gap:.75rem;letter-spacing:-.015em}.edit-modal-title svg{width:1.25rem;height:1.25rem;color:#6b7280}.modal-close-btn{background:transparent;border:none;color:#9ca3af;width:2.5rem;height:2.5rem;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1)}.modal-close-btn:hover{background:#f3f4f6;color:#111827}.modal-close-btn svg{width:1.25rem;height:1.25rem}.modal-body,.edit-form-container{padding:2rem;overflow-y:auto;flex:1}.modal-footer,.enhanced-modal-footer{padding:1.5rem 2rem;border-top:1px solid #f3f4f6;background:#fafafa;flex-shrink:0;display:flex;justify-content:flex-end;gap:1rem}.form-section{background:#fafafa;border:1px solid #f3f4f6;border-radius:10px;padding:0;margin-bottom:1.5rem;overflow:hidden}.section-title{display:flex;align-items:center;gap:.75rem;font-size:.9375rem;font-weight:600;color:#374151;background:#fff;border-bottom:1px solid #f3f4f6;padding:1.25rem 1.5rem;margin:0}.section-icon{width:1.125rem;height:1.125rem;color:#6b7280}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;padding:2rem 1.5rem}.form-grid .full-width{grid-column:1 / -1}.enhanced-form-group,.form-group{margin-bottom:1.5rem}.enhanced-form-label,.form-label{display:block;font-size:.8125rem;font-weight:500;color:#374151;text-transform:none;letter-spacing:0;margin-bottom:.625rem}.required{color:#dc2626}.enhanced-form-input,.enhanced-form-select,.enhanced-form-textarea,.form-input,.form-select,.form-textarea{width:100%;padding:.875rem 1rem;background-color:#fff;border:1.5px solid #e5e7eb;border-radius:8px;font-size:.9375rem;color:#111827;font-weight:400;transition:all .2s cubic-bezier(.4,0,.2,1)}.enhanced-form-input:focus,.enhanced-form-select:focus,.enhanced-form-textarea:focus,.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;background-color:#fff}.enhanced-form-textarea,.form-textarea{resize:vertical;line-height:1.6}.multiple-select option{padding:.75rem}.multiple-select option:checked{background:#3b82f6;color:#fff}.search-field-container{position:relative;margin-bottom:1.25rem}.search-field{width:100%;padding:.875rem 3rem .875rem 1rem;background-color:#fff;border:1.5px solid #e5e7eb;border-radius:8px;font-size:.9375rem;transition:all .2s cubic-bezier(.4,0,.2,1)}.search-field:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.search-icon{position:absolute;right:1rem;top:50%;transform:translateY(-50%);width:1.25rem;height:1.25rem;color:#9ca3af;pointer-events:none}.enhanced-select-container{max-height:14rem;overflow-y:auto;border:1.5px solid #e5e7eb;border-radius:8px;background:#fff}.enhanced-select-option{padding:.875rem 1rem;cursor:pointer;display:flex;align-items:center;gap:.75rem;transition:background-color .15s ease;font-size:.625rem}.enhanced-select-option:hover{background:#f9fafb}.enhanced-select-option.selected{background:#f9731626;color:#f59e0b}.option-checkbox{width:1.25rem;height:1.25rem;border:2px solid #d1d5db;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.option-checkbox.checked{background:#f59e0b;border-color:#f59e0b;color:#fff}.selected-items{display:flex;flex-wrap:wrap;gap:.625rem;margin-top:1rem}.selected-item{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .875rem;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;font-size:.5rem;color:#374151}.remove-item{cursor:pointer;color:#6b7280;transition:color .15s ease}.remove-item:hover{color:#111827}.error-message{color:#dc2626;font-size:.8125rem;margin-top:.5rem;display:flex;align-items:center;gap:.375rem}.enhanced-btn,.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);border:none;letter-spacing:-.01em}.enhanced-btn svg,.btn svg{width:1rem;height:1rem}.enhanced-btn-primary,.btn-primary{background:#3b82f6;color:#fff;box-shadow:0 1px 2px #0000000d}.enhanced-btn-primary:hover,.btn-primary:hover{background:#2563eb;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transform:translateY(-1px)}.enhanced-btn-primary:active,.btn-primary:active{background:#1d4ed8;transform:translateY(0)}.enhanced-btn-secondary,.btn-secondary{background:#fff;color:#374151;border:1.5px solid #e5e7eb}.enhanced-btn-secondary:hover,.btn-secondary:hover{background:#f9fafb;border-color:#d1d5db}.enhanced-btn-secondary:active,.btn-secondary:active{background:#f3f4f6}.unified-content{max-height:70vh;overflow-y:auto}.section-block{padding:1.5rem;border-radius:8px}.attachment-modal-layout{display:grid;grid-template-columns:2fr 1fr;gap:2rem;height:100%}.attachment-preview{background:#fafafa;border:1.5px solid #e5e7eb;border-radius:10px;display:flex;align-items:center;justify-content:center;min-height:400px}.preview-placeholder{text-align:center;color:#9ca3af}.attachment-detail-info{display:flex;flex-direction:column;gap:1.25rem}.detail-row{display:flex;flex-direction:column;gap:.5rem}.detail-label{font-size:.8125rem;font-weight:500;color:#6b7280;text-transform:none}.detail-value{font-size:.9375rem;color:#111827;font-weight:400}.attachment-detail-actions{display:flex;flex-direction:column;gap:.875rem;margin-top:2rem}.dark .modal-overlay{background-color:#0009}.dark .modal-content{background:#1f2937;border:none;box-shadow:0 20px 25px -5px #0000004d,0 10px 10px -5px #0003}.dark .edit-modal-header,.dark .modal-header{background:#1f2937;border-bottom-color:#374151}.dark .edit-modal-title,.dark .modal-title{color:#f3f4f6}.dark .edit-modal-title svg{color:#9ca3af}.dark .modal-close-btn{color:#9ca3af}.dark .modal-close-btn:hover{background:#374151;color:#f3f4f6}.dark .modal-body,.dark .edit-form-container{background:#1f2937}.dark .form-section{background:#111827;border-color:#374151}.dark .section-title{color:#f3f4f6;background:#1f2937;border-bottom-color:#374151}.dark .section-icon{color:#9ca3af}.dark .enhanced-form-label,.dark .form-label{color:#d1d5db}.dark .enhanced-form-input,.dark .enhanced-form-select,.dark .enhanced-form-textarea,.dark .form-input,.dark .form-select,.dark .form-textarea,.dark .search-field{background-color:#374151;border-color:#4b5563;color:#f3f4f6}.dark .enhanced-form-input:focus,.dark .enhanced-form-select:focus,.dark .enhanced-form-textarea:focus,.dark .form-input:focus,.dark .form-select:focus,.dark .form-textarea:focus,.dark .search-field:focus{border-color:#3b82f6;background-color:#4b5563;box-shadow:0 0 0 3px #3b82f626}.dark .multiple-select option:checked{background:#3b82f6}.dark .enhanced-select-container{background:#374151;border-color:#4b5563}.dark .enhanced-select-option:hover{background:#4b5563}.dark .enhanced-select-option.selected{background:#f9731633;color:#fb923c}.dark .option-checkbox{border-color:#6b7280}.dark .selected-item{background:#374151;border-color:#4b5563;color:#d1d5db}.dark .remove-item{color:#9ca3af}.dark .remove-item:hover{color:#f3f4f6}.dark .enhanced-btn-secondary,.dark .btn-secondary{background:#374151;color:#f3f4f6;border-color:#4b5563}.dark .enhanced-btn-secondary:hover,.dark .btn-secondary:hover{background:#4b5563;border-color:#6b7280}.dark .error-message{color:#fca5a5}.dark .section-block{background:transparent}.dark .section-block h3{color:#f3f4f6!important}.dark .section-block button{background-color:#374151!important;color:#f3f4f6!important;border-color:#4b5563!important}.dark .section-block button:hover{background-color:#4b5563!important}.dark .section-block>div>div[style*="background-color: #f8fafc"]{background-color:#111827!important;border-color:#374151!important}.dark .section-block>div>div>div[style*="background-color: white"]{background-color:#374151!important;border-color:#4b5563!important}.dark .section-block label{color:#d1d5db!important}.dark .section-block input,.dark .section-block textarea,.dark .section-block select{background-color:#4b5563!important;border-color:#6b7280!important;color:#f3f4f6!important}.dark .section-block p,.dark .section-block span{color:#d1d5db!important}.dark .section-block strong{color:#f3f4f6!important}.dark .attachment-preview{background:#111827;border-color:#374151}.dark .preview-placeholder{color:#6b7280}.dark .detail-label{color:#9ca3af}.dark .detail-value{color:#f3f4f6}@media(max-width:1024px){.modal-content,.edit-modal,.large-modal{max-width:95%}.form-grid{grid-template-columns:1fr}.edit-form-container,.unified-content{max-height:65vh}.attachment-modal-layout{grid-template-columns:1fr}}@media(max-width:768px){.modal-overlay{padding:1rem}.modal-content{max-height:95vh;border-radius:8px}.edit-modal-header,.modal-header{padding:1.25rem 1.5rem}.edit-modal-title,.modal-title{font-size:1rem}.edit-modal-title svg{width:1.25rem;height:1.25rem}.modal-close-btn{width:2.25rem;height:2.25rem}.modal-close-btn svg{width:1.125rem;height:1.125rem}.modal-body{padding:1.5rem}.edit-form-container{padding:1.5rem;max-height:70vh}.modal-footer,.enhanced-modal-footer{padding:1.25rem 1.5rem;flex-direction:column-reverse;gap:.875rem}.modal-footer button,.enhanced-modal-footer button{width:100%;justify-content:center}.form-section{padding:1.25rem;margin-bottom:1.25rem}.section-title{font-size:.9375rem;padding:1rem 1.25rem}.section-icon{width:1.125rem;height:1.125rem}.enhanced-form-group,.form-group{margin-bottom:1.125rem}.enhanced-form-input,.enhanced-form-select,.enhanced-form-textarea,.form-input,.form-select,.form-textarea{font-size:1rem}.enhanced-btn,.btn{width:100%;padding:.75rem 1.25rem;font-size:.9375rem}.enhanced-btn svg,.btn svg{width:.9375rem;height:.9375rem}.form-grid{gap:1rem}.section-block{padding:1.25rem}.section-block h3{font-size:.9375rem!important}.section-block button{padding:.75rem 1rem!important;font-size:.8125rem!important}.unified-content{max-height:65vh}div[style*="grid-template-columns: 1fr 1fr"]{display:flex!important;flex-direction:column!important}}@media(max-width:480px){.modal-overlay{padding:.5rem;align-items:flex-start}.modal-content{margin-top:1rem;border-radius:6px}.edit-modal-header,.modal-header{padding:1rem 1.25rem}.edit-modal-title,.modal-title{font-size:.9375rem}.modal-close-btn{width:2rem;height:2rem}.modal-body,.edit-form-container{padding:1.25rem}.modal-footer,.enhanced-modal-footer{padding:1rem 1.25rem;gap:.75rem}.form-section{padding:1rem;margin-bottom:1rem}.section-title{padding:.875rem 1rem;font-size:.875rem}.enhanced-form-label,.form-label{font-size:.8125rem}.enhanced-btn,.btn{padding:.875rem 1.25rem;font-size:.875rem}.selected-item{padding:.5rem .75rem;font-size:.8125rem}.section-block{padding:1rem}}.dark .fi-page{background-color:#111827!important}.dark .view-tabs{border-bottom-color:#374151;background:transparent}.dark .view-tabs>div:last-child span:first-child{color:#9ca3af}.dark .view-tabs>div:last-child span:last-child{color:#4ade80!important}.dark .tab-btn{color:#9ca3af;background:transparent}.dark .tab-btn:hover{color:#e5e7eb;background:#ffffff0d}.dark .tab-btn.active{color:#f59e0b;border-bottom-color:#f59e0b;background:#f9731614}.dark .kanban-column{background:#1f2937;border-color:#374151}.dark .kanban-card{background:#374151;border-color:#4b5563;color:#e5e7eb}.dark .kanban-card:hover{background:#4b5563;border-color:#6b7280}.dark .kanban-header{border-bottom-color:#4b5563}.dark .kanban-title,.dark .card-title{color:#f3f4f6}.dark .card-description{color:#d1d5db}.dark .filter-select,.dark .modern-filter-select{background:#374151;border-color:#4b5563;color:#f3f4f6}.dark .filter-select:focus,.dark .modern-filter-select:focus{border-color:#f59e0b;box-shadow:0 0 0 2px #f9731633}.dark .info-card{background:#1f2937;border-color:#374151;color:#e5e7eb}.dark .card-header{background:#f973161a;border-bottom-color:#f9731633}.dark .card-body{background:#1f2937}.dark .definition-item{border-bottom-color:#374151}.dark .definition-term{background:#4b556366;color:#9ca3af}.dark .definition-value{color:#e5e7eb}.dark .data-table{background:#1f2937;border-color:#374151}.dark .data-table th{background:#f973161a;color:#fed7aa;border-bottom-color:#f9731633}.dark .data-table td{border-bottom-color:#374151;color:#d1d5db}.dark .data-table tbody tr:hover{background:#f973160d}.dark .custom-action-btn{background:#374151;border-color:#4b5563;color:#e5e7eb}.dark .custom-action-btn:hover{background:#4b5563;border-color:#6b7280;color:#f3f4f6}.dark .modal-content,.dark .edit-modal{background:#1f2937;color:#e5e7eb}.dark .edit-modal-header{background:linear-gradient(135deg,#ea580c,#d97706);color:#fff}.dark .edit-form-container{background:#111827}.dark .form-section{background:#4b556333;border-color:#374151}.dark .enhanced-form-input,.dark .enhanced-form-select,.dark .enhanced-form-textarea{background:#374151;border-color:#4b5563;color:#f3f4f6}.dark .enhanced-form-input:focus,.dark .enhanced-form-select:focus,.dark .enhanced-form-textarea:focus{border-color:#f59e0b;box-shadow:0 0 0 3px #f9731633}.dark .modal-header{border-bottom-color:#374151;background:#1f2937}.dark .modal-footer,.dark .enhanced-modal-footer{border-top-color:#374151;background:#111827}.dark .audit-view-main-title,.dark .section-title{color:#f3f4f6}.dark .detail-description{background:#4b55634d;border-left-color:#f59e0b;color:#d1d5db}.dark .progress-text{color:#4ade80}.dark .badge{background:#4b556366;color:#e5e7eb}.dark .attachment-name-only{background:#374151;border-color:#4b5563;color:#d1d5db}.dark .attachment-name-only:hover{background:#4b5563;border-color:#6b7280}.dark .enhanced-select-container{background:#374151;border-color:#4b5563;box-shadow:0 4px 6px -1px #0000004d}.dark .enhanced-select-option{background:#374151;color:#d1d5db;border-bottom-color:#4b5563}.dark .enhanced-select-option:hover{background:#4b5563;color:#f3f4f6}.dark .enhanced-select-option.selected,.dark .selected-item{background:#f9731633;color:#fed7aa;border-left-color:#f59e0b}.elements-table-wrapper{display:flex;flex-direction:column;gap:1.5rem}.elements-table-container{background:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;overflow-x:auto}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;text-align:center}.empty-state-icon{width:3rem;height:3rem;color:#d1d5db;margin-bottom:1rem}.empty-state-text{color:#6b7280;font-size:1rem}.elements-table{width:100%;border-collapse:collapse;font-size:.875rem}.elements-table.data-table thead{background:#fff7ed}.elements-table thead{color:#9a3412;font-weight:600}.elements-table th{padding:.75rem 1rem;text-align:left;border-bottom:2px solid #fed7aa;transition:background .2s ease}.elements-table th:hover{background:#f9731626}.elements-table tbody tr{border-bottom:1px solid #e5e7eb;transition:all .15s ease}.elements-table tbody tr:hover{background-color:#f3f4f6!important;box-shadow:inset 0 0 8px #f973161a}.elements-table tbody tr.hover-row:active{background:#e5e7eb!important;transform:scale(.995)}.elements-table td{padding:1rem;vertical-align:middle}.col-statut{width:10%}.col-titre{width:20%}.col-type{width:10%}.col-priorite{width:18%}.col-actions,.col-commentaires,.col-responsables{width:12%}.element-titre-cell{display:flex;align-items:center;gap:.75rem}.element-titre{color:#1f2937;font-weight:500}.element-badge,.type-badge{display:inline-block;padding:.375rem .75rem;border-radius:.375rem;font-size:.75rem;font-weight:600;text-transform:capitalize;background:#fef3c7;color:#92400e}.priority-badge{display:inline-block;padding:.375rem .75rem;border-radius:.375rem;font-size:.75rem;font-weight:600;text-transform:capitalize}.priority-critique{background:#fee2e2;color:#991b1b}.priority-haute{background:#fecaca;color:#dc2626}.priority-normale{background:#fed7aa;color:#9a3412}.priority-basse{background:#d1fae5;color:#065f46}.status-badge{display:inline-block;padding:.375rem .75rem;border-radius:.375rem;font-size:.75rem;font-weight:600;text-transform:capitalize}.status-a-faire{background:#fee2e2;color:#991b1b}.status-en-cours{background:#fef3c7;color:#92400e}.status-termine{background:#d1fae5;color:#065f46}.status-annule{background:#f3f4f6;color:#6b7280}.status-default{background:#e5e7eb;color:#374151}.responsables-list{display:flex;flex-wrap:wrap;gap:.5rem}.responsable-badge{display:inline-block;padding:.25rem .625rem;border-radius:.375rem;font-size:.75rem;background:#f3e8ff;color:#6b21a8;white-space:nowrap}.no-responsable{color:#9ca3af;font-style:italic}.actions-count-badge{display:inline-block;padding:.375rem .75rem;border-radius:.375rem;font-size:.75rem;font-weight:600;background:linear-gradient(135deg,#f97316,#fb923c);color:#fff}.responsables-count-badge{display:inline-block;padding:.375rem .75rem;border-radius:.375rem;font-size:.75rem;font-weight:600;background:#e0e7ff;color:#3730a3}.elements-table .action-btn,.action-btn-compact{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;min-height:auto;padding:0;border:1.5px solid #e5e7eb;background:#fff;border-radius:.5rem;cursor:pointer;transition:all .2s ease;margin-right:.5rem;position:relative}.elements-table .action-btn:before,.action-btn-compact:before{display:none}.elements-table .action-btn:hover,.action-btn-compact:hover{background:#f59e0b;border-color:#f59e0b;color:#fff;transform:translateY(-2px);box-shadow:0 4px 8px #f973164d}.elements-table .action-btn.delete-btn:hover,.action-btn-compact.delete-btn:hover{background:#dc2626;border-color:#dc2626}.action-icon{width:1rem;height:1rem;stroke:currentColor;fill:none}.element-row.status-a-faire{border-left:3px solid #dc2626}.element-row.status-en-cours{border-left:3px solid #eab308}.element-row.status-termine{border-left:3px solid #10b981}.element-row.status-annule{border-left:3px solid #6b7280}.dark .elements-table-container{background:#1f2937}.dark .elements-table.data-table thead{background:#78350f}.dark .elements-table thead{color:#fdba74}.dark .elements-table th{border-bottom-color:#92400e}.dark .elements-table th:hover{background:#f9731633}.dark .elements-table tbody tr{border-bottom-color:#374151}.dark .elements-table tbody tr:hover{background-color:#111827}.dark .element-titre{color:#f3f4f6}.dark .element-badge,.dark .type-badge{background:#f9731633;color:#fed7aa}.dark .priority-critique{background:#dc262633;color:#fca5a5}.dark .priority-haute{background:#d9770633;color:#fdba74}.dark .priority-normale{background:#f9731633;color:#fed7aa}.dark .priority-basse{background:#10b98133;color:#6ee7b7}.dark .status-a-faire{background:#dc262633;color:#fca5a5}.dark .status-en-cours{background:#eab30833;color:#fcd34d}.dark .status-termine{background:#10b98133;color:#6ee7b7}.dark .status-annule,.dark .status-default{background:#4b556380;color:#d1d5db}.dark .responsable-badge{background:#9333ea33;color:#c4b5fd}.dark .no-responsable{color:#6b7280}.dark .actions-count-badge{background:linear-gradient(135deg,#c2410c,#ea580c);color:#fef3c7}.dark .responsables-count-badge{background:#312e81;color:#a5b4fc}.dark .elements-table .action-btn,.dark .action-btn-compact{background:#374151;border-color:#4b5563;color:#d1d5db}.dark .elements-table .action-btn:hover,.dark .action-btn-compact:hover{background:#fb923c;border-color:#fb923c;color:#1f2937}.dark .elements-table .action-btn.delete-btn:hover,.dark .action-btn-compact.delete-btn:hover{background:#dc2626;border-color:#dc2626}.dark .empty-state-icon{color:#4b5563}.dark .empty-state-text{color:#9ca3af}@media(max-width:1024px){.col-statut{width:12%}.col-titre{width:25%}.col-type{display:none}.col-priorite{width:20%}.col-actions,.col-commentaires{width:15%}.col-responsables{display:none}}@media(max-width:640px){.elements-table{font-size:.75rem}.elements-table th,.elements-table td{padding:.5rem}.col-statut{width:15%}.col-titre{width:40%}.col-type,.col-priorite{display:none}.col-actions,.col-commentaires{width:20%}.col-responsables{display:none}.actions-grid{grid-template-columns:1fr;gap:.75rem}.action-btn{padding:1.25rem .75rem;min-height:90px;gap:.5rem}.action-btn-icon{width:1.5rem;height:1.5rem}.action-btn-label{font-size:.8125rem}.elements-table .action-btn,.action-btn-compact{width:1.75rem;height:1.75rem}.action-icon{width:.875rem;height:.875rem}}.card-title-input{font-family:inherit}.card-title-input:focus{border-bottom-color:#f97316!important;border-bottom-style:solid!important}.card-title-input::placeholder{color:#fdba74;font-weight:600}.badge-type-element-select:hover{border-color:#f59e0b;border-style:solid;color:#f59e0b}.badge-type-element-select:focus{border-color:#f59e0b;border-style:solid;box-shadow:0 0 0 3px #f973161a}.edit-select-multiple-Kanban{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23f97316'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .5rem center;background-size:1.5rem;padding-right:2.5rem}.edit-select-multiple-Kanban option{padding:.5rem;background:#fff;color:#374151;font-weight:500}.edit-select-multiple-Kanban option:checked{background:linear-gradient(#f97316,#f97316);background-color:#f97316!important;color:#fff}.edit-select-multiple-Kanban:hover{border-color:#ea580c}.btn-quick-create:hover{background:linear-gradient(135deg,#ea580c,#c2410c);box-shadow:0 10px 15px -3px #f9731666;transform:translateY(-1px)}.btn-quick-create:active{transform:translateY(0);box-shadow:0 4px 6px -1px #f973164d}[x-cloak]{display:none!important}@media(max-width:640px){.modal-content.kanban-card-modal{max-width:100vw!important;width:100vw!important;max-height:100vh!important;border-radius:12px 12px 0 0!important;position:fixed;bottom:0!important;top:auto!important}.edit-select-multiple-Kanban{font-size:1rem!important;min-height:140px!important;size:5!important}.modal-content.kanban-card-modal>form>div:last-child{padding:.75rem 1rem!important;gap:.5rem!important}.modal-content.kanban-card-modal button{padding:.5rem 1.25rem!important;font-size:.8125rem!important;height:40px!important}}@media(max-width:768px)and (min-width:641px){.modal-content.kanban-card-modal{max-width:95vw!important;width:95vw!important;max-height:95vh!important}}@media(hover:none)and (pointer:coarse){.edit-select-multiple-Kanban{padding:.75rem 1rem!important;font-size:16px!important}.card-title-input{font-size:16px!important;padding:.5rem 0!important}.modal-content.kanban-card-modal button{min-height:44px!important}}.dark .card-title-input{color:#fb923c;border-bottom-color:#92400e}.dark .card-title-input:focus{border-bottom-color:#f97316!important}.dark .card-title-input::placeholder{color:#c2410c}.dark .badge-type-element-select{background:#374151;color:#d1d5db;border-color:#4b5563}.dark .badge-type-element-select:hover,.dark .badge-type-element-select:focus{border-color:#f59e0b;color:#fb923c}.dark .btn-quick-create{background:linear-gradient(135deg,#f97316,#ea580c);box-shadow:0 4px 6px -1px #f9731666}.dark .btn-quick-create:hover{background:linear-gradient(135deg,#fb923c,#f97316);box-shadow:0 10px 15px -3px #f9731680}.dark .modal-content.kanban-card-modal{background:#1f2937!important;border-color:#4b5563!important}
