.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}.kanban-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}.kanban-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}.kanban-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){.kanban-controls-header{flex-direction:column;gap:1rem}.kanban-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-header{background:#fff;border-radius:.75rem;padding:1.5rem;margin-bottom:.5rem;border:1px solid #e5e7eb;box-shadow:0 1px 2px #0000000d}.audit-info{display:block}.audit-main{display:flex;flex-direction:column;width:100%}.audit-title-section{display:flex;justify-content:space-between;align-items:center;gap:2rem;margin-bottom:1.5rem;flex-wrap:wrap}.audit-title-container{display:flex;align-items:center;gap:1.5rem;flex:1;min-width:300px}.title-icon-audit{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:hover{background:linear-gradient(135deg,#f59e0b33,#f59e0b1f);transform:scale(1.05) rotate(5deg);box-shadow:0 6px 16px #f59e0b40}.audit-main-title-page{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}.cards-grid-audit{display:grid;grid-template-columns:1fr;gap:1rem;margin-bottom:1rem;margin-top:.75rem}@media (min-width: 1024px){.cards-grid-audit{grid-template-columns:repeat(2,1fr)}}.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}.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:#dbeafe;color:#1e40af;border-radius:.25rem;font-size:.625rem;font-weight:500;line-height:1.4}.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(6,1fr);gap:.75rem}@media (max-width: 1200px){.actions-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width: 768px){.actions-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 480px){.actions-grid{grid-template-columns:1fr}}.action-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.375rem;padding:.625rem .5rem;border:1px solid #d1d5db;background:#fff;border-radius:.375rem;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none;color:#6b7280;min-height:70px}.action-btn:hover{background:#f9fafb;border-color:#9ca3af;transform:translateY(-2px);box-shadow:0 4px 6px #0000001a;color:#374151}.action-btn-icon{width:1.125rem;height:1.125rem;color:#9ca3af}.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}.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}.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}.data-table{width:100%;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;overflow:hidden;box-shadow:0 1px 3px #0000001a}.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}.badge-table{display:inline-block;padding:.25rem .625rem;border-radius:.375rem;font-size:.75rem;font-weight:500}.action-btn:hover .action-btn-icon{color:#6b7280}.action-btn-label{font-size:.7rem;text-align:center;line-height:1.2}.filters-grid-compact{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem}.audit-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}@media (min-width: 1024px){.audit-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:#f97316}.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}.kanban-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:#f97316}.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}.priority-critique{background:#fee2e2;color:#991b1b}.type-verification{background:#fefcdb;color:#1e40af}.type-conformite{background:#dcfce7;color:#166534}.type-action{background:#fee6c7;color:#92400e}.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-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-title-section{padding:1rem}.audit-title-container{gap:.5rem}.title-icon-audit{width:2rem;height:2rem;min-width:2rem}.title-icon-audit svg{width:1rem;height:1rem}.audit-main-title-page{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:.125rem .5rem;background:#fefcdb;color:#1e40af;border-radius:.75rem;font-size:.625rem;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:#f97316;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:#f97316}.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:#f97316;box-shadow:0 0 0 3px #f973161a,0 1px 2px #0000000d}.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:#f97316;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:.75rem;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 #f97316}.option-checkbox{width:1rem;height:1rem;border:1px solid #d1d5db;border-radius:.25rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.option-checkbox.checked{background:#f97316;border-color:#f97316;color:#fff}.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:.625rem;font-weight:500;border-left:2px solid #f97316}.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:.5rem 1rem;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}.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 #f97316;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-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}.kanban-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){.audit-title{font-size:1.25rem}.audit-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}.kanban-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){.audit-title{font-size:1.125rem}.section-title{font-size:.875rem}.audit-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 .fi-page{background-color:#111827!important}.dark .audit-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{background:#111827;color:#e5e7eb;border-color:#4b5563}.dark .audit-title,.dark .section-title,.dark .card-title,.dark .detail-value,.dark .kanban-title,.dark .detail-value-inline,.dark .responsables-list,.dark .kpi-number,.dark .stat-number{color:#fff!important}.dark .audit-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 .audit-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:#f97316}.dark .card-body{background:#1f2937}.dark .definition-item{border-bottom-color:#374151}.dark .definition-term{background:#111827;color:#9ca3af}.dark .definition-value{color:#e5e7eb}.dark .attachment-name-only{background:#374151;color:#e5e7eb;border-color:#4b5563}.dark .attachment-name-only:hover{background:#4b5563;border-color:#6b7280}.dark .site-badge-small{background:#1e3a8a;color:#93c5fd}.dark .action-btn{background:#374151;color:#9ca3af;border-color:#4b5563}.dark .action-btn:hover{background:#4b5563;border-color:#6b7280;color:#d1d5db}.dark .action-btn-icon{color:#6b7280}.dark .action-btn:hover .action-btn-icon{color:#9ca3af}.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{background:#1f2937;border-color:#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}.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:.9375rem}.enhanced-select-option:hover{background:#f9fafb}.enhanced-select-option.selected{background:#eff6ff;color:#1e40af}.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:#3b82f6;border-color:#3b82f6;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:.875rem;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 .modal-footer,.dark .enhanced-modal-footer{border-top-color:#374151;background:#111827}.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:#1e3a8a;color:#bfdbfe}.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}}
