.form-field select{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right var(--space-3) center;background-size:16px 12px;padding-right:var(--space-10)}body.theme-dark .form-field select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e0e0e0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e")}:root{--font-family-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", Arial, sans-serif;--font-family-mono: "Consolas", "Menlo", "Monaco", monospace;--space-0: 0;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--space-16: 64px;--font-size-xs: .75rem;--font-size-sm: .85rem;--font-size-base: 1rem;--font-size-lg: 1.1rem;--font-size-xl: 1.25rem;--font-size-2xl: 1.5rem;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--line-height-tight: 1.25;--line-height-normal: 1.5;--line-height-relaxed: 1.75;--radius-sm: 3px;--radius-md: 4px;--radius-lg: 6px;--radius-xl: 8px;--radius-full: 9999px;--z-dropdown: 100;--z-sticky: 500;--z-navbar: 1000;--z-modal-backdrop: 1500;--z-modal: 2000;--z-tooltip: 2500;--z-toast: 3000;--transition-fast: .15s ease;--transition-normal: .2s ease;--transition-slow: .3s ease;--navbar-height: 60px;--color-home: #868e96;--color-home-light: #a1a8af;--color-home-dark: #5a6268;--color-home-rgb: 134, 142, 150;--color-incidents: #C62828;--color-incidents-light: #e53935;--color-incidents-dark: #b71c1c;--color-incidents-rgb: 198, 40, 40;--color-ncs: #D32F2F;--color-ncs-light: #EF5350;--color-ncs-dark: #C62828;--color-ncs-rgb: 211, 47, 47;--color-safety: #AD1457;--color-safety-light: #EC407A;--color-safety-dark: #880E4F;--color-safety-rgb: 173, 20, 87;--color-risques: #EF6C00;--color-risques-light: #ff9800;--color-risques-dark: #e65100;--color-risques-rgb: 239, 108, 0;--color-risks: #F57C00;--color-risks-light: #FFB74D;--color-risks-dark: #E65100;--color-risks-rgb: 245, 124, 0;--color-opportunities: #FFA000;--color-opportunities-light: #FFCA28;--color-opportunities-dark: #FF8F00;--color-opportunities-rgb: 255, 160, 0;--color-actions: #1565C0;--color-actions-light: #42a5f5;--color-actions-dark: #0d47a1;--color-actions-rgb: 21, 101, 192;--color-actions-corrective: #1565C0;--color-actions-corrective-light: #42A5F5;--color-actions-corrective-dark: #0D47A1;--color-actions-preventive: #0097A7;--color-actions-preventive-light: #4DD0E1;--color-actions-preventive-dark: #00838F;--color-performance: #2E7D32;--color-performance-light: #66bb6a;--color-performance-dark: #1b5e20;--color-performance-rgb: 46, 125, 50;--color-kpis: #00897B;--color-kpis-light: #4DB6AC;--color-kpis-dark: #00695C;--color-kpis-rgb: 0, 137, 123;--color-audits: #2E7D32;--color-audits-light: #66BB6A;--color-audits-dark: #1B5E20;--color-audits-rgb: 46, 125, 50;--color-improvement: #558B2F;--color-improvement-light: #8BC34A;--color-improvement-dark: #33691E;--color-improvement-rgb: 85, 139, 47;--color-review: #689F38;--color-review-light: #9CCC65;--color-review-dark: #558B2F;--color-review-rgb: 104, 159, 56;--color-documentation: #5E35B1;--color-documentation-light: #9575cd;--color-documentation-dark: #4527a0;--color-documentation-rgb: 94, 53, 177;--color-documents: #5E35B1;--color-documents-light: #9575CD;--color-documents-dark: #4527A0;--color-documents-rgb: 94, 53, 177;--color-processus: #7B1FA2;--color-processus-light: #BA68C8;--color-processus-dark: #6A1B9A;--color-processus-rgb: 123, 31, 162;--color-requirements: #512DA8;--color-requirements-light: #7E57C2;--color-requirements-dark: #4527A0;--color-requirements-rgb: 81, 45, 168;--color-knowledge: #8E24AA;--color-knowledge-light: #CE93D8;--color-knowledge-dark: #7B1FA2;--color-knowledge-rgb: 142, 36, 170;--color-ressources: #546E7A;--color-ressources-light: #78909c;--color-ressources-dark: #37474f;--color-ressources-rgb: 84, 110, 122;--color-suppliers: #455A64;--color-suppliers-light: #78909C;--color-suppliers-dark: #37474F;--color-suppliers-rgb: 69, 90, 100;--color-formations: #00695C;--color-formations-light: #4DB6AC;--color-formations-dark: #004D40;--color-formations-rgb: 0, 105, 92;--color-metrology: #607D8B;--color-metrology-light: #90A4AE;--color-metrology-dark: #455A64;--color-metrology-rgb: 96, 125, 139;--color-inspections: #546E7A;--color-inspections-light: #78909C;--color-inspections-dark: #37474F;--color-inspections-rgb: 84, 110, 122;--color-admin: #616161;--color-admin-light: #9e9e9e;--color-admin-dark: #424242;--color-admin-rgb: 97, 97, 97;--color-employees: #00838F;--color-employees-light: #4DD0E1;--color-employees-dark: #006064;--color-employees-rgb: 0, 131, 143;--color-success: #198754;--color-success-light: #d1e7dd;--color-success-dark: #0f5132;--color-warning: #ffc107;--color-warning-light: #fff3cd;--color-warning-dark: #664d03;--color-danger: #dc3545;--color-danger-light: #f8d7da;--color-danger-dark: #842029;--color-info: #0dcaf0;--color-info-light: #cff4fc;--color-info-dark: #055160;--chart-bg-good: rgba(25, 135, 84, .2);--chart-bg-bad: rgba(220, 53, 69, .2);--chart-color-1: #6a8aaa;--chart-color-2: #e09090;--chart-color-3: #a0e0a0;--chart-color-4: #e0e0a0;--chart-color-5: #a0a0e0;--chart-color-6: #e0a0e0}*,*:before,*:after{box-sizing:border-box}html{line-height:var(--line-height-normal);-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;padding:0;font-family:var(--font-family-sans);font-size:var(--font-size-base);font-weight:var(--font-weight-normal);line-height:var(--line-height-normal);color:var(--text-primary);background-color:var(--background-body);transition:background-color var(--transition-slow),color var(--transition-slow)}h1,h2,h3,h4,h5,h6{margin:0;font-weight:var(--font-weight-medium);line-height:var(--line-height-tight)}p{margin:0 0 var(--space-4)}a{color:var(--color-link);text-decoration:none;transition:color var(--transition-fast)}a:hover{color:var(--color-link-hover);text-decoration:underline}ul,ol{margin:0;padding:0}img{max-width:100%;height:auto;display:block}button{font-family:inherit;font-size:inherit;cursor:pointer;border:none;background:none;padding:0}button:disabled{cursor:not-allowed;opacity:.6}input,textarea,select{font-family:inherit;font-size:inherit;line-height:inherit}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse;border-spacing:0}pre,code{font-family:var(--font-family-mono)}pre{white-space:pre-wrap;word-wrap:break-word;background-color:var(--background-body);padding:var(--space-4);border-radius:var(--radius-md);border:1px solid var(--border-primary);color:var(--text-secondary);font-size:var(--font-size-sm);margin:0}::selection{background-color:rgba(var(--color-actions-rgb),.3);color:var(--text-primary)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--background-secondary)}::-webkit-scrollbar-thumb{background:var(--border-primary);border-radius:var(--radius-md)}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}:focus-visible{outline:2px solid var(--border-focus);outline-offset:2px}[disabled]{cursor:not-allowed!important;opacity:.6}[hidden]{display:none!important}.h1,h1{font-size:var(--font-size-2xl);font-weight:var(--font-weight-semibold)}.h2,h2{font-size:var(--font-size-xl);font-weight:var(--font-weight-semibold)}.h3,h3{font-size:var(--font-size-lg);font-weight:var(--font-weight-medium)}.h4,h4{font-size:var(--font-size-base);font-weight:var(--font-weight-medium)}.text-xs{font-size:var(--font-size-xs)}.text-sm{font-size:var(--font-size-sm)}.text-base{font-size:var(--font-size-base)}.text-lg{font-size:var(--font-size-lg)}.text-xl{font-size:var(--font-size-xl)}.font-normal{font-weight:var(--font-weight-normal)}.font-medium{font-weight:var(--font-weight-medium)}.font-semibold{font-weight:var(--font-weight-semibold)}.font-bold{font-weight:var(--font-weight-bold)}.text-primary{color:var(--text-primary)}.text-secondary{color:var(--text-secondary)}.text-muted{color:var(--text-muted)}.text-inverted{color:var(--text-inverted)}.text-success{color:var(--color-success)}.text-warning{color:var(--color-warning-dark)}.text-danger{color:var(--color-danger)}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.underline{text-decoration:underline}.no-underline{text-decoration:none}.line-through{text-decoration:line-through}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tracking-tight{letter-spacing:-.025em}.tracking-normal{letter-spacing:0}.tracking-wide{letter-spacing:.025em}.leading-tight{line-height:var(--line-height-tight)}.leading-normal{line-height:var(--line-height-normal)}.leading-relaxed{line-height:var(--line-height-relaxed)}:root{--background-body: #f0f2f5;--background-primary: rgba(255, 255, 255, .95);--background-secondary: rgba(248, 249, 250, .9);--background-tertiary: rgba(233, 236, 239, .8);--background-navbar: rgba(255, 255, 255, .75);--background-input: #ffffff;--background-input-focus: #ffffff;--background-dropdown: #ffffff;--text-primary: #212529;--text-secondary: #495057;--text-muted: #6c757d;--text-inverted: #ffffff;--text-placeholder: #adb5bd;--border-primary: rgba(0, 0, 0, .1);--border-secondary: rgba(0, 0, 0, .08);--border-focus: #86b7fe;--border-left-accent: #0d6efd;--shadow-color: rgba(0, 0, 0, .1);--shadow-color-heavy: rgba(0, 0, 0, .2);--shadow-sm: 0 1px 2px var(--shadow-color);--shadow-md: 0 4px 6px var(--shadow-color);--shadow-lg: 0 10px 15px var(--shadow-color);--color-save-bg: #d4edda;--color-save-fg: #155724;--color-save-border: #c3e6cb;--color-create-bg: #d1ecf1;--color-create-fg: #0c5460;--color-create-border: #bee5eb;--color-reset-bg: #f8d7da;--color-reset-fg: #721c24;--color-reset-border: #f5c6cb;--color-secondary-bg: #e2e3e5;--color-secondary-fg: #383d41;--color-secondary-border: #d6d8db;--color-nav-btn-fg: #495057;--color-nav-btn-hover-bg: rgba(233, 236, 239, .7);--color-nav-btn-active-bg: #0d6efd;--color-nav-btn-active-fg: #ffffff;--color-nav-btn-active-border: #0d6efd;--badge-risk-faible-bg: #d1e7dd;--badge-risk-faible-fg: #0f5132;--badge-risk-faible-border: #badbcc;--badge-risk-moyen-bg: #fff3cd;--badge-risk-moyen-fg: #664d03;--badge-risk-moyen-border: #ffecb5;--badge-risk-eleve-bg: #ffe5d0;--badge-risk-eleve-fg: #984c0c;--badge-risk-eleve-border: #fecba1;--badge-risk-critique-bg: #f8d7da;--badge-risk-critique-fg: #842029;--badge-risk-critique-border: #f5c2c7;--badge-status-complete-bg: #d1e7dd;--badge-status-complete-fg: #0f5132;--badge-status-complete-border: #badbcc;--badge-status-encours-bg: #cff4fc;--badge-status-encours-fg: #055160;--badge-status-encours-border: #b6effb;--badge-status-retard-bg: #f8d7da;--badge-status-retard-fg: #842029;--badge-status-retard-border: #f5c2c7;--badge-status-afaire-bg: #e2e3e5;--badge-status-afaire-fg: #41464b;--badge-status-afaire-border: #d3d6d8;--trend-up-good: #198754;--trend-down-bad: #dc3545;--trend-up-bad: #c62828;--trend-down-good: #2e7d32;--color-link: #1976d2;--color-link-hover: #115293;--range-thumb-color: #1976d2}body.theme-dark{--background-body: #10141a;--background-primary: rgba(30, 38, 50, .6);--background-secondary: rgba(36, 45, 60, .5);--background-tertiary: rgba(42, 52, 70, .4);--background-navbar: rgba(26, 32, 44, .5);--background-input: rgba(42, 52, 70, .4);--background-input-focus: rgba(50, 60, 80, .6);--background-dropdown: rgba(22, 28, 38, .95);--text-primary: #e0e0e0;--text-secondary: #bdbdbd;--text-muted: #9e9e9e;--text-inverted: #ffffff;--text-placeholder: #757575;--border-primary: rgba(255, 255, 255, .1);--border-secondary: rgba(255, 255, 255, .08);--border-focus: #bb86fc;--border-left-accent: #bb86fc;--shadow-color: rgba(0, 0, 0, .3);--shadow-color-heavy: rgba(0, 0, 0, .5);--shadow-sm: 0 1px 2px var(--shadow-color);--shadow-md: 0 4px 6px var(--shadow-color);--shadow-lg: 0 10px 15px var(--shadow-color);--color-save-bg: #1b5e20;--color-save-fg: #66bb6a;--color-save-border: #2e7d32;--color-create-bg: #004d40;--color-create-fg: #b2dfdb;--color-create-border: #00796b;--color-reset-bg: #e53e3e;--color-reset-fg: #ffffff;--color-reset-border: #c53030;--color-secondary-bg: #37474f;--color-secondary-fg: #eceff1;--color-secondary-border: #546e7a;--color-nav-btn-fg: #bdbdbd;--color-nav-btn-hover-bg: rgba(42, 52, 70, .7);--color-nav-btn-active-bg: rgba(50, 60, 80, .8);--color-nav-btn-active-fg: #ffffff;--color-nav-btn-active-border: rgba(255, 255, 255, .2);--badge-risk-faible-bg: #1a3a1b;--badge-risk-faible-fg: #a5d6a7;--badge-risk-faible-border: #2e7d32;--badge-risk-moyen-bg: #403200;--badge-risk-moyen-fg: #fff59d;--badge-risk-moyen-border: #f9a825;--badge-risk-eleve-bg: #5d2b00;--badge-risk-eleve-fg: #ffcc80;--badge-risk-eleve-border: #ef6c00;--badge-risk-critique-bg: #4b1010;--badge-risk-critique-fg: #ef9a9a;--badge-risk-critique-border: #c62828;--badge-status-complete-bg: #1b5e20;--badge-status-complete-fg: #c8e6c9;--badge-status-complete-border: #2e7d32;--badge-status-encours-bg: #004d40;--badge-status-encours-fg: #b2dfdb;--badge-status-encours-border: #00796b;--badge-status-retard-bg: #b71c1c;--badge-status-retard-fg: #ffcdd2;--badge-status-retard-border: #d32f2f;--badge-status-afaire-bg: #37474f;--badge-status-afaire-fg: #eceff1;--badge-status-afaire-border: #546e7a;--trend-up-good: #66bb6a;--trend-down-bad: #ef5350;--trend-up-bad: #ef5350;--trend-down-good: #66bb6a;--color-link: #8ab4f8;--color-link-hover: #a1c9ff;--range-thumb-color: #bb86fc;--color-home: #9e9e9e;--color-home-rgb: 158, 158, 158;--color-incidents: #ef5350;--color-incidents-rgb: 239, 83, 80;--color-risques: #ffa726;--color-risques-rgb: 255, 167, 38;--color-actions: #42a5f5;--color-actions-rgb: 66, 165, 245;--color-performance: #66bb6a;--color-performance-rgb: 102, 187, 106;--color-documentation: #9575cd;--color-documentation-rgb: 149, 117, 205;--color-ressources: #90a4ae;--color-ressources-rgb: 144, 164, 174;--color-admin: #bdbdbd;--color-admin-rgb: 189, 189, 189;--chart-bg-good: rgba(102, 187, 106, .2);--chart-bg-bad: rgba(239, 83, 80, .2);--chart-color-1: #8ab4f8;--chart-color-2: #f28b82;--chart-color-3: #81c995;--chart-color-4: #fdd663;--chart-color-5: #c58af9;--chart-color-6: #f48fb1}.app-container{display:flex;flex-direction:column;min-height:100vh}.main-content{flex-grow:1;overflow-y:auto;padding-top:var(--navbar-height)}.container{padding-top:var(--navbar-height);min-height:100vh}.page-transition-wrapper{opacity:1;transform:translateY(0);transition:opacity .15s ease-out,transform .15s ease-out}.page-transition-wrapper.transitioning{opacity:0;transform:translateY(10px)}.content-wrapper{max-width:1600px;margin:0 auto;padding:var(--space-5)}.glass{background:var(--background-primary);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.dashboard-layout{display:grid;grid-template-columns:2fr 1fr;gap:var(--space-5);padding:0 var(--space-5) var(--space-5)}@media(max-width:1200px){.dashboard-layout{grid-template-columns:1fr}}.two-column-layout{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-5)}@media(max-width:768px){.two-column-layout{grid-template-columns:1fr}}.sidebar-layout{display:grid;grid-template-columns:280px 1fr;gap:var(--space-5)}.sidebar-layout .sidebar{background:var(--background-primary);border-radius:var(--radius-lg);border:1px solid var(--border-primary);padding:var(--space-4)}@media(max-width:992px){.sidebar-layout{grid-template-columns:1fr}}.navbar{position:fixed;top:0;left:0;right:0;height:var(--navbar-height);background:var(--background-navbar);backdrop-filter:blur(12px) saturate(180%);-webkit-backdrop-filter:blur(12px) saturate(180%);box-shadow:var(--shadow-sm);z-index:var(--z-navbar);border-bottom:1px solid var(--border-primary)}.navbar-content{display:flex;align-items:center;height:100%;padding:0 var(--space-5)}.navbar-brand{display:flex;align-items:center;gap:var(--space-3);font-weight:var(--font-weight-semibold);font-size:var(--font-size-lg);color:var(--text-secondary);margin-right:var(--space-8)}.navbar-brand img{height:30px;width:30px}.navbar-menu{display:flex;gap:var(--space-2);flex-grow:1;align-items:center}.navbar-user{display:flex;align-items:center;gap:var(--space-4)}.user-name{font-size:var(--font-size-sm);color:var(--text-muted)}.nav-btn{position:relative;font-family:var(--font-family-sans);padding:var(--space-2) var(--space-3);background:linear-gradient(to bottom,#ffffff26,#ffffff0d);border:1px solid var(--border-primary);border-top-color:#fff3;border-left-color:#ffffff26;color:var(--color-nav-btn-fg);border-radius:var(--radius-md);cursor:pointer;font-size:var(--font-size-sm);font-weight:var(--font-weight-normal);transition:all var(--transition-fast);text-decoration:none;display:inline-block;letter-spacing:.3px}body.theme-dark .nav-btn{background:#ffffff0d;border-top-color:#ffffff1a;border-left-color:#ffffff1a}.nav-btn:hover{background:var(--color-nav-btn-hover-bg);border-color:var(--border-primary);color:var(--text-primary)}.nav-btn.active{box-shadow:inset 0 1px 3px #0000001a,0 2px 4px #0000004d}.nav-btn.active.home{background:linear-gradient(to bottom,#a1a8af,var(--color-home));border-color:var(--color-home-dark);color:var(--text-inverted)}.nav-btn.active.incidents,.nav-btn.active.safety,.nav-btn.active.ncs{background:linear-gradient(to bottom,var(--color-incidents-light),var(--color-incidents));border-color:var(--color-incidents-dark);color:#fff}.nav-btn.active.risques,.nav-btn.active.risks,.nav-btn.active.opportunities{background:linear-gradient(to bottom,var(--color-risques-light),var(--color-risques));border-color:var(--color-risques-dark);color:#fff}.nav-btn.active.actions{background:linear-gradient(to bottom,var(--color-actions-light),var(--color-actions));border-color:var(--color-actions-dark);color:#fff}.nav-btn.active.performance,.nav-btn.active.kpis,.nav-btn.active.audit,.nav-btn.active.review,.nav-btn.active.graph{background:linear-gradient(to bottom,var(--color-performance-light),var(--color-performance));border-color:var(--color-performance-dark);color:#fff}.nav-btn.active.documentation,.nav-btn.active.documents,.nav-btn.active.processes,.nav-btn.active.requirements,.nav-btn.active.knowledge{background:linear-gradient(to bottom,var(--color-documentation-light),var(--color-documentation));border-color:var(--color-documentation-dark);color:#fff}.nav-btn.active.ressources,.nav-btn.active.suppliers,.nav-btn.active.training,.nav-btn.active.metrology,.nav-btn.active.inspections{background:linear-gradient(to bottom,var(--color-ressources-light),var(--color-ressources));border-color:var(--color-ressources-dark);color:#fff}.nav-btn.active.admin{background:linear-gradient(to bottom,var(--color-admin-light),var(--color-admin));border-color:var(--color-admin-dark);color:#fff}body.theme-dark .nav-btn.active.performance,body.theme-dark .nav-btn.active.kpis,body.theme-dark .nav-btn.active.admin{color:#212529!important}.nav-item-container{position:relative;display:inline-block}.nav-btn-group{position:relative}.nav-btn-group.child-active{background:#e9ecef80;border-color:var(--border-secondary);border-radius:var(--radius-md)}body.theme-dark .nav-btn-group.child-active{background:#2a344680}.dropdown-menu{display:none;position:absolute;top:calc(100% + var(--space-1));left:0;min-width:220px;border-radius:var(--radius-lg);box-shadow:0 8px 32px #0000004d;padding:var(--space-2);z-index:1001;background:var(--background-dropdown);border:1px solid var(--border-primary)}body.theme-dark .dropdown-menu{background:var(--background-navbar);backdrop-filter:blur(12px) saturate(180%);-webkit-backdrop-filter:blur(12px) saturate(180%);border:1px solid var(--border-primary);box-shadow:0 8px 32px #00000080}.dropdown-portal{z-index:9999;animation:dropdownAppear .2s ease-out forwards;transform-origin:top left}@keyframes dropdownAppear{0%{opacity:0;transform:translateY(-8px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.dropdown-menu.active{display:block}.dropdown-item{display:block;width:100%;padding:var(--space-2) var(--space-3);text-align:left;background:transparent;border:none;border-radius:var(--radius-md);font-size:var(--font-size-sm);color:var(--text-primary);cursor:pointer;transition:all var(--transition-fast);margin-bottom:var(--space-1)}.dropdown-item:last-child{margin-bottom:0}.dropdown-item:hover{background:var(--background-tertiary)}.dropdown-item.active{background-color:var(--color-actions);color:#fff}body.theme-dark .dropdown-item{background:transparent}body.theme-dark .dropdown-item:hover{background:var(--background-tertiary)}.nav-btn.active:before{content:"";position:absolute;top:1px;left:1px;right:1px;height:50%;border-radius:var(--radius-sm);background:linear-gradient(to bottom,#ffffff80,#ffffff1a);pointer-events:none}.theme-toggle-btn{background:none;border:none;cursor:pointer;font-size:var(--font-size-xl);padding:var(--space-1);color:var(--text-secondary);transition:color var(--transition-fast)}.theme-toggle-btn:hover{color:var(--text-primary)}.btn-logout{background-color:var(--background-secondary);color:var(--text-secondary);border-color:var(--border-secondary)}.btn-logout:hover{background-color:var(--background-tertiary)}.module-page{padding:var(--space-5);animation:fadeIn .3s ease-out}.module-page.active{display:block}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.page-header{background:transparent;color:var(--text-primary);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);margin-bottom:var(--space-6);text-align:center;border:1px solid var(--border-secondary);transition:all var(--transition-normal)}.page-title{font-size:var(--font-size-lg);font-weight:var(--font-weight-medium);margin-bottom:var(--space-1);letter-spacing:.3px}.page-subtitle{font-size:var(--font-size-sm);color:var(--text-muted)}.page-subtitle .iso-ref{font-style:italic}.page-header-content{display:flex;align-items:center;justify-content:center;gap:var(--space-3)}.page-header-icon{font-size:var(--font-size-2xl);line-height:1}.page-header-text{text-align:center}.page-header-actions{display:flex;gap:var(--space-2);margin-top:var(--space-3);justify-content:center}.page-header.with-actions{display:flex;justify-content:space-between;align-items:center;text-align:left}.page-header.with-actions .page-header-content{justify-content:flex-start}.page-header.with-actions .page-header-text{text-align:left}.page-header.with-actions .page-header-actions{margin-top:0}.module-page .page-header{position:relative;overflow:hidden;border-radius:var(--radius-lg) var(--radius-lg) 0 0;margin:-1px -1px var(--space-6) -1px;border:1px solid rgba(var(--module-color-active-rgb),.9);background:linear-gradient(to bottom,rgba(var(--module-color-active-rgb),.85),rgba(var(--module-color-active-rgb),.65));color:var(--text-inverted);text-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:inset 0 1px 2px #fff3}.module-page .page-header:before{content:"";position:absolute;top:0;left:-20%;width:140%;height:60%;background:linear-gradient(to bottom,rgba(255,255,255,.25),transparent);transform:rotate(-3deg) translateY(-10px);pointer-events:none}.module-page .page-header .page-subtitle{color:#ffffffd9}body.theme-dark .module-page .page-header{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.4)}body.theme-dark .module-page .page-header .page-subtitle{color:#ffffffd9}.module-page.home,.modal-content.home{--module-color-active: var(--color-home);--module-color-active-rgb: var(--color-home-rgb)}.module-page.incidents,.modal-content.incidents,.module-page.safety,.modal-content.safety,.module-page.ncs,.modal-content.ncs{--module-color-active: var(--color-incidents);--module-color-active-rgb: var(--color-incidents-rgb)}.module-page.risques,.modal-content.risques,.module-page.risks,.modal-content.risks,.module-page.opportunities,.modal-content.opportunities{--module-color-active: var(--color-risques);--module-color-active-rgb: var(--color-risques-rgb)}.module-page.actions,.modal-content.actions{--module-color-active: var(--color-actions);--module-color-active-rgb: var(--color-actions-rgb)}.module-page.performance,.modal-content.performance,.module-page.kpis,.modal-content.kpis,.module-page.audit,.modal-content.audit,.module-page.review,.modal-content.review,.module-page.graph,.modal-content.graph{--module-color-active: var(--color-performance);--module-color-active-rgb: var(--color-performance-rgb)}.module-page.documentation,.modal-content.documentation,.module-page.documents,.modal-content.documents,.module-page.processes,.modal-content.processes,.module-page.requirements,.modal-content.requirements,.module-page.knowledge,.modal-content.knowledge{--module-color-active: var(--color-documentation);--module-color-active-rgb: var(--color-documentation-rgb)}.module-page.ressources,.modal-content.ressources,.module-page.suppliers,.modal-content.suppliers,.module-page.training,.modal-content.training,.module-page.metrology,.modal-content.metrology,.module-page.inspections,.modal-content.inspections{--module-color-active: var(--color-ressources);--module-color-active-rgb: var(--color-ressources-rgb)}.module-page.admin,.modal-content.admin{--module-color-active: var(--color-admin);--module-color-active-rgb: var(--color-admin-rgb)}.action-buttons{display:flex;flex-wrap:wrap;gap:var(--space-3);padding:0 0 var(--space-5)}.action-buttons.justify-start{justify-content:flex-start}.action-buttons.justify-between{justify-content:space-between}.action-buttons.justify-end{justify-content:flex-end}.action-buttons.vertical{flex-direction:column}.subsection-title{color:var(--text-primary);font-weight:var(--font-weight-medium);padding:var(--space-3) 0;border-bottom:1px solid var(--border-secondary);font-size:var(--font-size-lg);margin:var(--space-5) 0 var(--space-3) 0}.no-data{text-align:center;padding:var(--space-10);color:var(--text-muted);border:2px dashed var(--border-primary);border-radius:var(--radius-md)}.filter-results-count{font-size:var(--font-size-sm);color:var(--text-muted);margin:calc(-1 * var(--space-3)) 0 var(--space-5)}.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);font-family:var(--font-family-sans);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);border:1px solid transparent;cursor:pointer;transition:all var(--transition-normal);text-decoration:none;white-space:nowrap}.btn:disabled{cursor:not-allowed;opacity:.6}.btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 8px #0000004d}.btn-sm{padding:var(--space-1) var(--space-3);font-size:var(--font-size-xs)}.btn-lg{padding:var(--space-4) var(--space-6);font-size:var(--font-size-base)}.btn-full{width:100%}.btn-create{background:linear-gradient(to bottom,var(--color-create-border),var(--color-create-bg));border-color:var(--color-create-border);color:var(--color-create-fg)}.btn-create:hover:not(:disabled){opacity:.9}.module-page .btn-create,.module-page .btn-save,.modal-content .btn-create,.modal-content .btn-save{background:linear-gradient(to bottom,rgba(var(--module-color-active-rgb),.9),rgba(var(--module-color-active-rgb),.7));border-color:rgba(var(--module-color-active-rgb),1);color:#fff}.module-page .btn-create:hover:not(:disabled),.module-page .btn-save:hover:not(:disabled),.modal-content .btn-create:hover:not(:disabled),.modal-content .btn-save:hover:not(:disabled){opacity:1}body.theme-dark .module-page .btn-create,body.theme-dark .modal-content .btn-create,body.theme-dark .module-page .btn-save,body.theme-dark .modal-content .btn-save{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3)}.btn-save{background-color:var(--color-save-bg);color:var(--color-save-fg);border-color:var(--color-save-border)}.btn-save:hover:not(:disabled){opacity:.85}.btn-secondary{background-color:var(--color-secondary-bg);color:var(--color-secondary-fg);border-color:var(--color-secondary-border)}.btn-secondary:hover:not(:disabled){background-color:var(--background-tertiary)}.btn-reset,.btn-danger{background-color:var(--color-reset-bg);color:var(--color-reset-fg);border:1px solid var(--color-reset-border)}.btn-reset:hover:not(:disabled),.btn-danger:hover:not(:disabled){background-color:#dc354533}.btn-outline{background:transparent;border-width:1px}.btn-outline-primary{border-color:var(--color-actions);color:var(--color-actions)}.btn-outline-primary:hover:not(:disabled){background-color:var(--color-actions);color:#fff}.btn-outline-danger{border-color:var(--color-danger);color:var(--color-danger)}.btn-outline-danger:hover:not(:disabled){background-color:var(--color-danger);color:#fff}.btn-link{background:none;border:none;color:var(--module-color-active, var(--color-link));cursor:pointer;padding:0;text-decoration:none;font-weight:var(--font-weight-normal)}.btn-link:hover{color:var(--module-color-active, var(--color-link-hover));text-decoration:underline}.module-page .btn-link,.modal-content .btn-link{color:var(--module-color-active)}.module-page .btn-link:hover,.modal-content .btn-link:hover{color:var(--module-color-active);text-decoration:underline}.btn-icon{padding:var(--space-2);border-radius:var(--radius-full);line-height:1}.btn-icon.btn-sm{padding:var(--space-1)}.btn-remove-row{background:var(--color-reset-bg);color:#fff;border:none;border-radius:var(--radius-full);width:20px;height:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;font-size:var(--font-size-xs)}.btn-print{background-color:#6c757d;color:#fff}.btn-dashboard{background-color:var(--background-secondary);color:var(--text-secondary);border-color:var(--border-secondary)}.btn-dashboard:hover:not(:disabled){background-color:var(--background-tertiary)}.btn-create:before,.btn-save:before,.btn-reset:before{content:"";position:absolute;top:1px;left:1px;right:1px;height:50%;border-radius:var(--radius-sm);background:linear-gradient(to bottom,#ffffff80,#ffffff1a);pointer-events:none}.btn-group{display:inline-flex;gap:0}.btn-group .btn{border-radius:0}.btn-group .btn:first-child{border-radius:var(--radius-md) 0 0 var(--radius-md)}.btn-group .btn:last-child{border-radius:0 var(--radius-md) var(--radius-md) 0}.btn-group .btn:not(:last-child){border-right:none}.form-section{background-color:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-md);margin-bottom:var(--space-5)}.module-page .form-section,.modal-content .form-section{border-left:3px solid var(--module-color-active)}.form-header{padding:var(--space-4) var(--space-5);background-color:var(--background-secondary);border-bottom:1px solid var(--border-primary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-base);color:var(--text-secondary)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-5);padding:var(--space-5)}@media(max-width:768px){.form-grid{grid-template-columns:1fr}}.form-field{display:flex;flex-direction:column;gap:var(--space-1)}.form-field.full-width{grid-column:1 / -1}.form-field label{font-weight:var(--font-weight-medium);font-size:var(--font-size-sm);color:var(--text-secondary)}.form-field .label-highlight{color:var(--color-reset-fg)}.form-field-helper{font-size:var(--font-size-xs);color:var(--text-muted)}.form-field input,.form-field select,.form-field textarea{width:100%;padding:var(--space-3);font-family:var(--font-family-sans);font-size:var(--font-size-sm);border:1px solid var(--border-secondary);border-radius:var(--radius-md);background-color:var(--background-input);color:var(--text-primary);transition:border-color var(--transition-normal),box-shadow var(--transition-normal);box-sizing:border-box}.form-field input::placeholder,.form-field textarea::placeholder{color:var(--text-placeholder)}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:none;border-color:var(--border-focus);box-shadow:0 0 0 3px #0d6efd40;background-color:var(--background-input-focus)}.module-page input:focus,.module-page textarea:focus,.module-page select:focus,.modal-content input:focus,.modal-content textarea:focus,.modal-content select:focus{border-color:var(--module-color-active);box-shadow:0 0 0 3px rgba(var(--module-color-active-rgb),.3)}.form-field input:disabled,.form-field select:disabled,.form-field textarea:disabled{background-color:var(--background-tertiary);cursor:not-allowed;opacity:.7}.form-field textarea{min-height:100px;resize:vertical}.form-field select{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right var(--space-3) center;background-size:16px 12px;padding-right:var(--space-10)}body.theme-dark .form-field select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e0e0e0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e")}.checkbox-group{display:flex;flex-wrap:wrap;gap:var(--space-4)}.checkbox-item{display:flex;align-items:center;gap:var(--space-2);cursor:pointer}.checkbox-item input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:var(--module-color-active, var(--color-actions))}.radio-group{display:flex;flex-direction:column;gap:var(--space-2)}.radio-item{display:flex;align-items:center;gap:var(--space-2);cursor:pointer}.radio-item input[type=radio]{width:18px;height:18px;cursor:pointer;accent-color:var(--module-color-active, var(--color-actions))}.validation-error{color:var(--color-reset-fg);font-size:var(--font-size-xs);margin-top:var(--space-1)}.form-field.has-error input,.form-field.has-error select,.form-field.has-error textarea{border-color:var(--color-danger)}.form-field.has-error input:focus,.form-field.has-error select:focus,.form-field.has-error textarea:focus{box-shadow:0 0 0 3px #dc354540}.api-key-field{position:relative}.show-hide-key{position:absolute;right:var(--space-3);top:32px;background:none;border:none;cursor:pointer;font-size:var(--font-size-xl);color:var(--text-muted)}input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:8px;background:var(--background-tertiary);border-radius:var(--radius-full);outline:none}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;background:var(--range-thumb-color);border-radius:var(--radius-full);cursor:pointer}input[type=range]::-moz-range-thumb{width:20px;height:20px;background:var(--range-thumb-color);border-radius:var(--radius-full);cursor:pointer;border:none}.input-group{display:flex}.input-group input{flex-grow:1;border-top-right-radius:0;border-bottom-right-radius:0}.input-group .btn{border-top-left-radius:0;border-bottom-left-radius:0}.invitation-link-container{display:flex;margin-top:var(--space-3)}.invitation-link-container input{flex-grow:1;background:var(--background-body);border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.invitation-link-container button{border-top-left-radius:0;border-bottom-left-radius:0}table{width:100%;border-collapse:separate;border-spacing:0;margin:var(--space-4) 0;background:var(--background-secondary);border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border-primary)}.main-table{margin:0}thead tr{background-color:var(--background-tertiary)}th{padding:var(--space-3) var(--space-4);text-align:left;font-weight:var(--font-weight-semibold);font-size:var(--font-size-xs);color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid var(--border-primary)}tbody tr{border-bottom:1px solid var(--border-primary);transition:background-color var(--transition-fast)}tbody tr:last-child{border-bottom:none}tbody tr:hover{background-color:var(--background-tertiary);cursor:pointer}td{padding:var(--space-3) var(--space-4);vertical-align:middle;font-size:var(--font-size-sm)}td .btn{margin-right:var(--space-1)}td .btn:last-child{margin-right:0}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}.table-compact th,.table-compact td{padding:var(--space-2) var(--space-3)}.table-striped tbody tr:nth-child(2n){background-color:var(--background-secondary)}.table-bordered th,.table-bordered td{border:1px solid var(--border-primary)}.report-table{width:100%;margin-top:var(--space-3);background:#fff;color:#000}.report-table th,.report-table td{border:1px solid #dee2e6;padding:var(--space-2);text-align:left}th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}th.sortable:hover{background-color:var(--background-secondary)}th.sortable:after{content:" ↕";opacity:.3}th.sortable.asc:after{content:" ↑";opacity:1}th.sortable.desc:after{content:" ↓";opacity:1}.table-empty{text-align:center;padding:var(--space-10);color:var(--text-muted)}.table-empty td{padding:var(--space-10)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0009;display:flex;justify-content:center;align-items:center;z-index:var(--z-modal-backdrop);opacity:0;visibility:hidden;transition:opacity var(--transition-slow),visibility var(--transition-slow);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.modal-overlay.active{opacity:1;visibility:visible}.modal-content{background-color:var(--background-primary);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);width:90%;max-width:800px;max-height:90vh;display:flex;flex-direction:column;z-index:var(--z-modal);transform:scale(.95);transition:transform var(--transition-normal)}.modal-overlay.active .modal-content{transform:scale(1)}.modal-content.modal-sm{max-width:400px}.modal-content.modal-lg{max-width:1000px}.modal-content.modal-xl{max-width:1200px}.modal-content.modal-full{max-width:95%;max-height:95vh}.modal-header{padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--border-primary);display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.modal-title{font-size:var(--font-size-xl);font-weight:var(--font-weight-semibold);color:var(--text-primary);margin:0}.modal-header .close{font-size:var(--font-size-2xl);cursor:pointer;color:var(--text-muted);background:none;border:none;padding:0;line-height:1;transition:color var(--transition-fast)}.modal-header .close:hover{color:var(--text-primary)}.modal-body{padding:var(--space-5);overflow-y:auto;flex-grow:1}.modal-footer{padding:var(--space-4) var(--space-5);border-top:1px solid var(--border-primary);display:flex;justify-content:space-between;align-items:center;background-color:var(--background-secondary);border-radius:0 0 var(--radius-xl) var(--radius-xl);flex-shrink:0}.modal-footer.justify-end{justify-content:flex-end;gap:var(--space-3)}.modal-footer.justify-center{justify-content:center}.report-modal-body{overflow:auto;padding:var(--space-5);background-color:#525659}.report-container{background-color:#fff;color:#000;padding:20mm;width:210mm;min-height:297mm;margin:0 auto;box-shadow:0 0 10px #00000080}.report-header{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid black;padding-bottom:var(--space-3)}.report-section{margin-top:var(--space-5)}.report-section-title{font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);background-color:#e9ecef;padding:var(--space-1);border-bottom:1px solid #dee2e6}.report-signatures{display:flex;justify-content:space-around;margin-top:50px;page-break-inside:avoid}.signature-box{text-align:center;width:40%}.signature-line{border-bottom:1px solid black;margin-bottom:var(--space-1);height:50px}.modal-confirm .modal-body{text-align:center;padding:var(--space-8)}.modal-confirm .modal-icon{font-size:48px;margin-bottom:var(--space-4)}.modal-confirm .modal-icon.warning{color:var(--color-warning)}.modal-confirm .modal-icon.danger{color:var(--color-danger)}.modal-confirm .modal-message{font-size:var(--font-size-lg);color:var(--text-secondary)}.modal-content.incidents .modal-header,.modal-content.safety .modal-header,.modal-content.ncs .modal-header{background:linear-gradient(to right,rgba(var(--color-incidents-rgb),.1),transparent);border-bottom-color:rgba(var(--color-incidents-rgb),.3)}.modal-content.risques .modal-header,.modal-content.risks .modal-header,.modal-content.opportunities .modal-header{background:linear-gradient(to right,rgba(var(--color-risques-rgb),.1),transparent);border-bottom-color:rgba(var(--color-risques-rgb),.3)}.modal-content.actions .modal-header{background:linear-gradient(to right,rgba(var(--color-actions-rgb),.1),transparent);border-bottom-color:rgba(var(--color-actions-rgb),.3)}.modal-content.performance .modal-header,.modal-content.kpis .modal-header,.modal-content.audit .modal-header,.modal-content.review .modal-header{background:linear-gradient(to right,rgba(var(--color-performance-rgb),.1),transparent);border-bottom-color:rgba(var(--color-performance-rgb),.3)}.modal-content.documentation .modal-header,.modal-content.documents .modal-header,.modal-content.processes .modal-header,.modal-content.requirements .modal-header,.modal-content.knowledge .modal-header{background:linear-gradient(to right,rgba(var(--color-documentation-rgb),.1),transparent);border-bottom-color:rgba(var(--color-documentation-rgb),.3)}.modal-content.ressources .modal-header,.modal-content.suppliers .modal-header,.modal-content.training .modal-header,.modal-content.metrology .modal-header,.modal-content.inspections .modal-header{background:linear-gradient(to right,rgba(var(--color-ressources-rgb),.1),transparent);border-bottom-color:rgba(var(--color-ressources-rgb),.3)}.modal-content.admin .modal-header{background:linear-gradient(to right,rgba(var(--color-admin-rgb),.1),transparent);border-bottom-color:rgba(var(--color-admin-rgb),.3)}.badge{display:inline-block;padding:.35em .65em;font-size:var(--font-size-xs);font-weight:var(--font-weight-bold);line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--radius-sm);border:1px solid transparent}.badge-status-complete,.badge-status-complet,.badge-status-termine{background-color:var(--badge-status-complete-bg);color:var(--badge-status-complete-fg);border-color:var(--badge-status-complete-border)}.badge-status-encours,.badge-status-en-cours{background-color:var(--badge-status-encours-bg);color:var(--badge-status-encours-fg);border-color:var(--badge-status-encours-border)}.badge-status-retard,.badge-status-en-retard{background-color:var(--badge-status-retard-bg);color:var(--badge-status-retard-fg);border-color:var(--badge-status-retard-border)}.badge-status-afaire,.badge-status-a-faire,.badge-status-planifie{background-color:var(--badge-status-afaire-bg);color:var(--badge-status-afaire-fg);border-color:var(--badge-status-afaire-border)}.badge-status-annule{background-color:var(--background-tertiary);color:var(--text-muted);border-color:var(--border-secondary);text-decoration:line-through}.badge-risk-faible{background-color:var(--badge-risk-faible-bg);color:var(--badge-risk-faible-fg);border-color:var(--badge-risk-faible-border)}.badge-risk-moyen{background-color:var(--badge-risk-moyen-bg);color:var(--badge-risk-moyen-fg);border-color:var(--badge-risk-moyen-border)}.badge-risk-eleve{background-color:var(--badge-risk-eleve-bg);color:var(--badge-risk-eleve-fg);border-color:var(--badge-risk-eleve-border)}.badge-risk-critique{background-color:var(--badge-risk-critique-bg);color:var(--badge-risk-critique-fg);border-color:var(--badge-risk-critique-border)}.badge-priority-low{background-color:var(--badge-risk-faible-bg);color:var(--badge-risk-faible-fg);border-color:var(--badge-risk-faible-border)}.badge-priority-medium{background-color:var(--badge-risk-moyen-bg);color:var(--badge-risk-moyen-fg);border-color:var(--badge-risk-moyen-border)}.badge-priority-high{background-color:var(--badge-risk-eleve-bg);color:var(--badge-risk-eleve-fg);border-color:var(--badge-risk-eleve-border)}.badge-priority-critical{background-color:var(--badge-risk-critique-bg);color:var(--badge-risk-critique-fg);border-color:var(--badge-risk-critique-border)}.badge-incidents,.badge-nc,.badge-sst{background-color:rgba(var(--color-incidents-rgb),.15);color:var(--color-incidents);border-color:rgba(var(--color-incidents-rgb),.3)}.badge-risques,.badge-risk,.badge-opportunity{background-color:rgba(var(--color-risques-rgb),.15);color:var(--color-risques);border-color:rgba(var(--color-risques-rgb),.3)}.badge-actions{background-color:rgba(var(--color-actions-rgb),.15);color:var(--color-actions);border-color:rgba(var(--color-actions-rgb),.3)}.badge-performance,.badge-kpi{background-color:rgba(var(--color-performance-rgb),.15);color:var(--color-performance);border-color:rgba(var(--color-performance-rgb),.3)}.badge-documentation{background-color:rgba(var(--color-documentation-rgb),.15);color:var(--color-documentation);border-color:rgba(var(--color-documentation-rgb),.3)}.badge-ressources{background-color:rgba(var(--color-ressources-rgb),.15);color:var(--color-ressources);border-color:rgba(var(--color-ressources-rgb),.3)}.source-badge{display:inline-block;padding:.2em .5em;font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);border-radius:var(--radius-sm);margin-right:var(--space-1)}.source-badge.badge-nc{background-color:rgba(var(--color-incidents-rgb),.15);color:var(--color-incidents)}.source-badge.badge-kpi{background-color:rgba(var(--color-performance-rgb),.15);color:var(--color-performance)}.source-badge.badge-sst{background-color:rgba(var(--color-incidents-rgb),.15);color:var(--color-incidents)}.source-badge.badge-risk,.source-badge.badge-opportunity{background-color:rgba(var(--color-risques-rgb),.15);color:var(--color-risques)}.badge-sm{padding:.2em .4em;font-size:.65em}.badge-lg{padding:.5em .8em;font-size:var(--font-size-sm)}.badge-icon{display:inline-flex;align-items:center;gap:var(--space-1)}.badge-icon svg{width:12px;height:12px}.badge-pill{border-radius:var(--radius-full);padding-left:.8em;padding-right:.8em}.badge-notification{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--color-danger);color:#fff;border-radius:var(--radius-full)}.card{background:var(--background-primary);border-radius:var(--radius-xl);border:1px solid var(--border-primary);overflow:hidden}.card-header{padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--border-primary);font-size:var(--font-size-lg);font-weight:var(--font-weight-medium)}.card-body{padding:var(--space-5)}.card-footer{padding:var(--space-4) var(--space-5);border-top:1px solid var(--border-primary);background-color:var(--background-secondary)}.dashboard-card{background:var(--background-primary);border-radius:var(--radius-xl);border:1px solid var(--border-primary);overflow:hidden;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.dashboard-card-title{padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--border-primary);font-size:var(--font-size-lg);font-weight:var(--font-weight-medium)}.system-overview,.quick-actions-grid{padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-4)}.health-widget{cursor:pointer;padding:var(--space-3);border-radius:var(--radius-md);transition:background-color var(--transition-fast)}.health-widget:hover{background-color:var(--background-secondary)}.health-widget-header{display:flex;justify-content:space-between;margin-bottom:var(--space-1);font-size:var(--font-size-sm)}.health-widget-bar-bg{background-color:var(--background-tertiary);height:8px;border-radius:var(--radius-md);overflow:hidden}.health-widget-bar-fill{height:100%;border-radius:var(--radius-md);transition:width var(--transition-slow)}.health-widget-bar-fill.good{background-color:var(--color-success)}.health-widget-bar-fill.warning{background-color:var(--color-warning)}.health-widget-bar-fill.danger{background-color:var(--color-danger)}.priority-tasks-list,.activity-feed{display:flex;flex-direction:column}.task-item,.feed-item{display:flex;gap:var(--space-4);padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--border-primary);align-items:center}.task-item:last-child,.feed-item:last-child{border-bottom:none}.task-item{cursor:pointer;transition:background-color var(--transition-fast)}.task-item:hover{background:var(--background-secondary)}.task-item-content{flex-grow:1}.task-item-title{font-weight:var(--font-weight-medium);margin-bottom:var(--space-1)}.task-item-desc,.task-item-due-date{font-size:var(--font-size-sm);color:var(--text-muted)}.task-item-due-date.overdue{color:var(--color-reset-fg);font-weight:var(--font-weight-semibold)}.task-item.risks{border-left:3px solid var(--color-risques)}.task-item.ncs,.task-item.incidents{border-left:3px solid var(--color-incidents)}.task-item.actions{border-left:3px solid var(--color-actions)}.task-item.metrology,.task-item.ressources{border-left:3px solid var(--color-ressources)}.task-item.documents,.task-item.documentation{border-left:3px solid var(--color-documentation)}.feed-item-icon{font-size:var(--font-size-xl)}.feed-item-text{font-size:var(--font-size-sm);flex-grow:1}.feed-item-time{font-size:var(--font-size-xs);color:var(--text-muted)}.stat-card{text-align:center;padding:var(--space-5)}.stat-value{font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);margin-bottom:var(--space-1)}.stat-label{font-size:var(--font-size-sm);color:var(--text-muted)}.stat-alert{color:var(--color-reset-fg)}.stat-progress{color:var(--color-link)}.quick-action-btn{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);background:var(--background-secondary);border:1px solid var(--border-primary);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-fast);text-align:left;width:100%}.quick-action-btn:hover{background:var(--background-tertiary);transform:translate(4px)}.quick-action-btn .icon{font-size:var(--font-size-xl)}.quick-action-btn .label{font-weight:var(--font-weight-medium)}.filter-bar{display:flex;flex-wrap:wrap;gap:var(--space-4);padding:var(--space-4);margin-bottom:var(--space-5);background-color:var(--background-primary);border-radius:var(--radius-md);border:1px solid var(--border-primary);align-items:flex-end}.filter-group{display:flex;flex-direction:column;gap:var(--space-1);min-width:150px}.filter-group label{font-size:var(--font-size-xs);color:var(--text-muted);font-weight:var(--font-weight-medium)}.filter-group input,.filter-group select{padding:var(--space-2) var(--space-3);font-size:var(--font-size-sm);border:1px solid var(--border-secondary);border-radius:var(--radius-md);background-color:var(--background-input);color:var(--text-primary);transition:border-color var(--transition-fast)}.filter-group input:focus,.filter-group select:focus{outline:none;border-color:var(--border-focus)}.filter-group input::placeholder{color:var(--text-placeholder)}.filter-group.small{min-width:100px}.filter-group.medium{min-width:180px}.filter-group.large{min-width:250px;flex-grow:1}.search-input-wrapper{position:relative;flex-grow:1}.search-input-wrapper input{width:100%;padding-left:var(--space-10)}.search-input-wrapper .search-icon{position:absolute;left:var(--space-3);top:50%;transform:translateY(-50%);color:var(--text-muted)}.filter-date-range{display:flex;align-items:center;gap:var(--space-2)}.filter-date-range span{color:var(--text-muted);font-size:var(--font-size-sm)}.filter-chips{display:flex;flex-wrap:wrap;gap:var(--space-2);padding:var(--space-3) 0}.filter-chip{display:inline-flex;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-3);background-color:var(--background-secondary);border:1px solid var(--border-primary);border-radius:var(--radius-full);font-size:var(--font-size-sm)}.filter-chip .remove{cursor:pointer;color:var(--text-muted);font-size:var(--font-size-lg);line-height:1}.filter-chip .remove:hover{color:var(--color-danger)}.active-filters{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-4)}.active-filter{display:inline-flex;align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-2);background-color:rgba(var(--color-actions-rgb),.1);border:1px solid rgba(var(--color-actions-rgb),.3);border-radius:var(--radius-md);font-size:var(--font-size-xs);color:var(--color-actions)}.active-filter .label{font-weight:var(--font-weight-medium)}.active-filter .clear{cursor:pointer;opacity:.7}.active-filter .clear:hover{opacity:1}.clear-all-filters{color:var(--text-muted);font-size:var(--font-size-sm);cursor:pointer;text-decoration:underline}.clear-all-filters:hover{color:var(--text-primary)}@media(max-width:768px){.filter-bar{flex-direction:column}.filter-group{width:100%}}.alert{padding:var(--space-4);border-radius:var(--radius-md);border:1px solid transparent;margin-bottom:var(--space-4)}.alert-success{background-color:var(--color-success-light);border-color:var(--color-success);color:var(--color-success-dark)}.alert-warning{background-color:var(--color-warning-light);border-color:var(--color-warning);color:var(--color-warning-dark)}.alert-danger,.alert-error{background-color:var(--color-danger-light);border-color:var(--color-danger);color:var(--color-danger-dark)}.alert-info{background-color:var(--color-info-light);border-color:var(--color-info);color:var(--color-info-dark)}.login-error{background:var(--color-reset-bg);border:1px solid var(--color-reset-border);color:var(--color-reset-fg);padding:var(--space-3);border-radius:var(--radius-md);text-align:center;font-size:var(--font-size-sm)}.toast-container{position:fixed;bottom:var(--space-5);right:var(--space-5);z-index:var(--z-toast);display:flex;flex-direction:column;gap:var(--space-3)}.toast{padding:var(--space-4);border-radius:var(--radius-md);background-color:var(--background-primary);border:1px solid var(--border-primary);box-shadow:var(--shadow-lg);min-width:300px;max-width:400px;animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.toast.success{border-left:4px solid var(--color-success)}.toast.error{border-left:4px solid var(--color-danger)}.toast.warning{border-left:4px solid var(--color-warning)}.toast.info{border-left:4px solid var(--color-info)}.toast-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-2)}.toast-title{font-weight:var(--font-weight-semibold)}.toast-close{cursor:pointer;color:var(--text-muted);font-size:var(--font-size-lg)}.toast-body{font-size:var(--font-size-sm);color:var(--text-secondary)}.field-error{color:var(--color-reset-fg);font-size:var(--font-size-xs);margin-top:var(--space-1)}.field-success{color:var(--color-save-fg);font-size:var(--font-size-xs);margin-top:var(--space-1)}.password-errors{font-size:var(--font-size-xs);margin-top:var(--space-1)}.password-errors ul{list-style:none;padding:0;margin:0}.password-errors li{padding:var(--space-1) 0}.password-errors li.invalid{color:var(--color-reset-fg)}.password-errors li.invalid:before{content:"✗ "}.password-errors li.valid{color:var(--color-save-fg);text-decoration:line-through}.password-errors li.valid:before{content:"✓ "}.empty-state{text-align:center;padding:var(--space-12);color:var(--text-muted)}.empty-state-icon{font-size:48px;margin-bottom:var(--space-4);opacity:.5}.empty-state-title{font-size:var(--font-size-lg);font-weight:var(--font-weight-medium);margin-bottom:var(--space-2);color:var(--text-secondary)}.empty-state-description{font-size:var(--font-size-sm);margin-bottom:var(--space-5)}.loading{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:9999;opacity:0;visibility:hidden;transition:opacity var(--transition-slow),visibility var(--transition-slow)}.loading.active{opacity:1;visibility:visible}.spinner{border:4px solid var(--background-primary);border-top:4px solid var(--color-actions);border-radius:var(--radius-full);width:50px;height:50px;animation:spin 1s linear infinite}.spinner-inline{display:inline-block;border:2px solid currentColor;border-right-color:transparent;border-radius:var(--radius-full);width:1em;height:1em;animation:spin .75s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.skeleton{background:linear-gradient(90deg,var(--background-secondary) 25%,var(--background-tertiary) 50%,var(--background-secondary) 75%);background-size:200% 100%;animation:skeleton-loading 1.5s infinite;border-radius:var(--radius-md)}@keyframes skeleton-loading{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-text{height:1em;margin-bottom:var(--space-2)}.skeleton-title{height:1.5em;width:60%;margin-bottom:var(--space-3)}.skeleton-avatar{width:40px;height:40px;border-radius:var(--radius-full)}.m-incidents,.module-page.incidents{--module-color: var(--color-incidents);--module-color-light: var(--color-incidents-light);--module-color-dark: var(--color-incidents-dark);--module-color-rgb: var(--color-incidents-rgb)}.module-page.ncs{--module-color: var(--color-ncs);--module-color-light: var(--color-ncs-light);--module-color-dark: var(--color-ncs-dark);--module-color-rgb: var(--color-ncs-rgb)}.module-page.safety{--module-color: var(--color-safety);--module-color-light: var(--color-safety-light);--module-color-dark: var(--color-safety-dark);--module-color-rgb: var(--color-safety-rgb)}.m-risques,.module-page.risques{--module-color: var(--color-risques);--module-color-light: var(--color-risques-light);--module-color-dark: var(--color-risques-dark);--module-color-rgb: var(--color-risques-rgb)}.module-page.risks{--module-color: var(--color-risks);--module-color-light: var(--color-risks-light);--module-color-dark: var(--color-risks-dark);--module-color-rgb: var(--color-risks-rgb)}.module-page.opportunities{--module-color: var(--color-opportunities);--module-color-light: var(--color-opportunities-light);--module-color-dark: var(--color-opportunities-dark);--module-color-rgb: var(--color-opportunities-rgb)}.m-actions,.module-page.actions{--module-color: var(--color-actions);--module-color-light: var(--color-actions-light);--module-color-dark: var(--color-actions-dark);--module-color-rgb: var(--color-actions-rgb)}.module-page.actions-correctives{--module-color: var(--color-actions-corrective);--module-color-light: var(--color-actions-corrective-light);--module-color-dark: var(--color-actions-corrective-dark)}.module-page.actions-preventives{--module-color: var(--color-actions-preventive);--module-color-light: var(--color-actions-preventive-light);--module-color-dark: var(--color-actions-preventive-dark)}.m-performance,.module-page.performance{--module-color: var(--color-performance);--module-color-light: var(--color-performance-light);--module-color-dark: var(--color-performance-dark);--module-color-rgb: var(--color-performance-rgb)}.module-page.kpis{--module-color: var(--color-kpis);--module-color-light: var(--color-kpis-light);--module-color-dark: var(--color-kpis-dark);--module-color-rgb: var(--color-kpis-rgb)}.module-page.audit{--module-color: var(--color-audits);--module-color-light: var(--color-audits-light);--module-color-dark: var(--color-audits-dark);--module-color-rgb: var(--color-audits-rgb)}.module-page.improvement{--module-color: var(--color-improvement);--module-color-light: var(--color-improvement-light);--module-color-dark: var(--color-improvement-dark);--module-color-rgb: var(--color-improvement-rgb)}.module-page.review,.module-page.graph{--module-color: var(--color-review);--module-color-light: var(--color-review-light);--module-color-dark: var(--color-review-dark);--module-color-rgb: var(--color-review-rgb)}.m-documentation,.module-page.documentation{--module-color: var(--color-documentation);--module-color-light: var(--color-documentation-light);--module-color-dark: var(--color-documentation-dark);--module-color-rgb: var(--color-documentation-rgb)}.module-page.documents{--module-color: var(--color-documents);--module-color-light: var(--color-documents-light);--module-color-dark: var(--color-documents-dark);--module-color-rgb: var(--color-documents-rgb)}.module-page.processes{--module-color: var(--color-processus);--module-color-light: var(--color-processus-light);--module-color-dark: var(--color-processus-dark);--module-color-rgb: var(--color-processus-rgb)}.module-page.requirements{--module-color: var(--color-requirements);--module-color-light: var(--color-requirements-light);--module-color-dark: var(--color-requirements-dark);--module-color-rgb: var(--color-requirements-rgb)}.module-page.knowledge{--module-color: var(--color-knowledge);--module-color-light: var(--color-knowledge-light);--module-color-dark: var(--color-knowledge-dark);--module-color-rgb: var(--color-knowledge-rgb)}.m-ressources,.module-page.ressources{--module-color: var(--color-ressources);--module-color-light: var(--color-ressources-light);--module-color-dark: var(--color-ressources-dark);--module-color-rgb: var(--color-ressources-rgb)}.module-page.suppliers{--module-color: var(--color-suppliers);--module-color-light: var(--color-suppliers-light);--module-color-dark: var(--color-suppliers-dark);--module-color-rgb: var(--color-suppliers-rgb)}.module-page.training{--module-color: var(--color-formations);--module-color-light: var(--color-formations-light);--module-color-dark: var(--color-formations-dark);--module-color-rgb: var(--color-formations-rgb)}.module-page.metrology{--module-color: var(--color-metrology);--module-color-light: var(--color-metrology-light);--module-color-dark: var(--color-metrology-dark);--module-color-rgb: var(--color-metrology-rgb)}.module-page.inspections{--module-color: var(--color-inspections);--module-color-light: var(--color-inspections-light);--module-color-dark: var(--color-inspections-dark);--module-color-rgb: var(--color-inspections-rgb)}.m-admin,.module-page.admin{--module-color: var(--color-admin);--module-color-light: var(--color-admin-light);--module-color-dark: var(--color-admin-dark);--module-color-rgb: var(--color-admin-rgb)}.module-page.home{--module-color: var(--color-home);--module-color-light: var(--color-home-light);--module-color-dark: var(--color-home-dark);--module-color-rgb: var(--color-home-rgb)}.module-page,.modal-content{--module-color-active: var(--module-color, var(--color-actions));--module-color-active-rgb: var(--module-color-rgb, var(--color-actions-rgb))}.landing-page{display:flex;flex-direction:column;min-height:100vh;background:#10141a;color:var(--text-primary, #e0e0e0);font-family:var(--font-family-base)}.landing-header{position:fixed;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:var(--space-3) var(--space-8);background:#10141ab3;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--border-primary, rgba(255, 255, 255, .1));box-shadow:0 4px 30px #0000004d;z-index:100}.landing-logo{display:flex;align-items:center;gap:var(--space-3);font-size:1.25rem;font-weight:700;letter-spacing:-.02em}.landing-logo img{height:32px;width:32px}.landing-nav{display:flex;gap:var(--space-1)}.landing-nav button{padding:var(--space-2) var(--space-4);background:transparent;border:none;color:var(--text-muted, #9e9e9e);font-size:.875rem;cursor:pointer;transition:color .2s;border-radius:var(--radius-md)}.landing-nav button:hover{color:var(--text-primary, #e0e0e0);background:#ffffff0d}.landing-header-actions{display:flex;align-items:center;gap:var(--space-3)}.btn-lang{padding:var(--space-2) var(--space-3);background:transparent;border:1px solid rgba(255,255,255,.3);border-radius:var(--radius-md);color:var(--text-muted, #9e9e9e);font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-lang:hover{background:#ffffff1a;border-color:#ffffff80;color:var(--text-primary, #e0e0e0)}.btn-login{padding:var(--space-2) var(--space-4);background:transparent;border:1px solid rgba(102,187,106,.5);border-radius:var(--radius-md);color:#66bb6a;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-login:hover{background:#66bb6a26;border-color:#66bb6a}.landing-main{flex:1;overflow-y:auto;overflow-x:hidden;padding-top:60px;scroll-behavior:smooth}.landing-main::-webkit-scrollbar{width:8px}.landing-main::-webkit-scrollbar-track{background:#ffffff0d}.landing-main::-webkit-scrollbar-thumb{background:#fff3;border-radius:4px}.landing-main::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.landing-hero{min-height:calc(100vh - 60px);display:flex;flex-direction:column;justify-content:center;padding:var(--space-8);position:relative}.hero-content{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-8);align-items:center;max-width:1400px;margin:0 auto;width:100%}.hero-text{max-width:600px}.hero-title{margin:0 0 var(--space-5) 0;line-height:1.1}.title-line{display:block;font-size:clamp(2rem,4vw,3.5rem);font-weight:800;letter-spacing:-.03em;color:var(--text-primary, #e0e0e0);text-shadow:0 0 60px rgba(255,255,255,.1)}.title-line.accent{background:linear-gradient(90deg,#66bb6a,#4db6ac,#26a69a);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:gradient-shift 8s ease-in-out infinite;background-size:200% 100%;filter:drop-shadow(0 0 30px rgba(102,187,106,.4))}@keyframes gradient-shift{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}.hero-description{font-size:1.125rem;color:var(--text-muted, #9e9e9e);line-height:1.7;margin:0 0 var(--space-6) 0}.hero-cta{margin-bottom:var(--space-4)}.btn-cta-primary{display:inline-flex;flex-direction:column;align-items:center;padding:var(--space-4) var(--space-8);background:linear-gradient(135deg,#43a047,#2e7d32);border:none;border-radius:var(--radius-lg);color:#fff;font-size:1.125rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 20px #43a04766,0 0 40px #43a04733;position:relative;overflow:hidden}.btn-cta-primary:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s ease}.btn-cta-primary:hover{transform:translateY(-3px);box-shadow:0 8px 40px #43a04780,0 0 60px #43a0474d,0 0 80px #43a0471a}.btn-cta-primary:hover:before{left:100%}.btn-cta-primary.large{padding:var(--space-5) var(--space-10);font-size:1.25rem}.btn-cta-primary .cta-sub{display:block;font-size:.75rem;font-weight:400;opacity:.85;margin-top:4px}.hero-trusted{font-size:.875rem;color:#64748b;margin:0}.hero-visual{display:flex;justify-content:center;align-items:center}.graph-wrapper{position:relative;width:100%;max-width:500px;aspect-ratio:16/12;border-radius:var(--radius-xl);overflow:hidden;background:#1e263299;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid var(--border-primary, rgba(255, 255, 255, .1));box-shadow:0 25px 80px #00000080,0 0 0 1px #ffffff0d inset;animation:graph-glow 4s ease-in-out infinite alternate}@keyframes graph-glow{0%{box-shadow:0 25px 80px #00000080,0 0 0 1px #ffffff0d inset}to{box-shadow:0 25px 80px #00000080,0 0 0 1px #ffffff14 inset,0 0 40px #66bb6a1a}}.graph-image{width:100%;height:100%;object-fit:cover}.graph-fallback{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}.graph-image+.graph-fallback{display:none}.graph-image[style*="display: none"]+.graph-fallback{display:flex}.node-central{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:80px;height:80px;background:linear-gradient(135deg,#43a047,#2e7d32);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem;color:#fff;box-shadow:0 0 40px #43a04799;z-index:10}.node{position:absolute;width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.6rem;font-weight:600;color:#fff;animation:pulse 3s ease-in-out infinite}.node-1{top:10%;left:50%;transform:translate(-50%);background:#ef4444;animation-delay:0s}.node-2{top:25%;right:10%;background:#f97316;animation-delay:.5s}.node-3{top:55%;right:8%;background:#eab308;animation-delay:1s}.node-4{bottom:10%;left:50%;transform:translate(-50%);background:#22c55e;animation-delay:1.5s}.node-5{top:55%;left:8%;background:#06b6d4;animation-delay:2s}.node-6{top:25%;left:10%;background:#8b5cf6;animation-delay:2.5s}.orbit{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:1px dashed rgba(255,255,255,.1);border-radius:50%;animation:rotate 30s linear infinite}.orbit-1{width:160px;height:160px}.orbit-2{width:280px;height:280px;animation-direction:reverse}@keyframes pulse{0%,to{transform:scale(1);opacity:.9}50%{transform:scale(1.08);opacity:1}}@keyframes rotate{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.stats-bar{display:flex;justify-content:center;gap:var(--space-6);padding:var(--space-6) var(--space-8);margin-top:var(--space-8);background:#ffffff08;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.08);border-radius:var(--radius-xl);max-width:900px;margin-left:auto;margin-right:auto;box-shadow:0 10px 40px #0003,inset 0 1px #ffffff0d}.stat-item{text-align:center;padding:var(--space-3) var(--space-5);position:relative}.stat-item:not(:last-child):after{content:"";position:absolute;right:0;top:20%;height:60%;width:1px;background:linear-gradient(180deg,transparent,rgba(255,255,255,.15),transparent)}.stat-value{display:block;font-size:2.25rem;font-weight:800;color:var(--text-primary, #e0e0e0);background:linear-gradient(90deg,#66bb6a,#4db6ac,#26a69a);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-shadow:0 0 40px rgba(102,187,106,.5)}.stat-label{display:block;font-size:.8rem;color:var(--text-muted, #9e9e9e);margin-top:var(--space-1);font-weight:500}.landing-section{padding:var(--space-12) var(--space-8);max-width:1400px;margin:0 auto;scroll-margin-top:80px}.section-header{text-align:center;margin-bottom:var(--space-10)}.section-header h2{font-size:2.25rem;font-weight:800;color:var(--text-primary, #e0e0e0);margin:0 0 var(--space-3) 0}.section-header p{font-size:1.125rem;color:var(--text-muted, #9e9e9e);margin:0}.modules-section{background:#ffffff05;max-width:100%;border-top:1px solid rgba(255,255,255,.05);border-bottom:1px solid rgba(255,255,255,.05);scroll-margin-top:80px}.modules-section .section-header,.modules-section .modules-grid{max-width:1400px;margin-left:auto;margin-right:auto}.modules-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-4)}.module-card{background:#1e263299;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--border-primary, rgba(255, 255, 255, .1));border-radius:var(--radius-lg);padding:var(--space-5);transition:all .3s ease;position:relative;overflow:hidden}.module-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--module-color, #66bb6a);opacity:0;transition:opacity .3s}.module-card:after{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,var(--module-color, #66bb6a) 0%,transparent 70%);opacity:0;transition:opacity .4s ease;pointer-events:none}.module-card:hover{background:#2a3446b3;border-color:var(--module-color, rgba(255, 255, 255, .2));transform:translateY(-4px);box-shadow:0 10px 40px #0000004d,0 0 30px color-mix(in srgb,var(--module-color, #66bb6a) 20%,transparent)}.module-card:hover:before{opacity:1}.module-card:hover:after{opacity:.08}.module-icon{font-size:1.5rem;margin-bottom:var(--space-3)}.module-card h3{font-size:1rem;font-weight:600;color:var(--text-primary, #e0e0e0);margin:0 0 var(--space-2) 0}.module-card p{font-size:.8rem;color:var(--text-muted, #9e9e9e);line-height:1.5;margin:0}.features-section{padding-top:var(--space-16);padding-bottom:var(--space-16)}.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-5)}.feature-card{background:#1e263299;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--border-primary, rgba(255, 255, 255, .1));border-radius:var(--radius-lg);padding:var(--space-6);text-align:center;transition:all .3s ease;position:relative;overflow:hidden}.feature-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 50% 0%,rgba(102,187,106,.1) 0%,transparent 60%);opacity:0;transition:opacity .3s ease}.feature-card:hover{background:#2a3446b3;border-color:#66bb6a4d;transform:translateY(-4px);box-shadow:0 20px 40px #0003,0 0 40px #66bb6a1a}.feature-card:hover:before{opacity:1}.feature-card .feature-icon{font-size:2rem;display:block;margin-bottom:var(--space-4)}.feature-card h3{font-size:1rem;font-weight:600;color:var(--text-primary, #e0e0e0);margin:0 0 var(--space-2) 0}.feature-card p{font-size:.85rem;color:var(--text-muted, #9e9e9e);line-height:1.6;margin:0}.compliance-section{text-align:center;padding:var(--space-10) var(--space-8);background:linear-gradient(180deg,transparent 0%,rgba(30,38,50,.3) 100%)}.compliance-section h2{font-size:1.5rem;font-weight:600;color:var(--text-muted, #9e9e9e);margin:0 0 var(--space-6) 0}.compliance-badges{display:flex;justify-content:center;flex-wrap:wrap;gap:var(--space-3)}.compliance-badge{padding:var(--space-3) var(--space-5);background:#1e263299;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid var(--border-primary, rgba(255, 255, 255, .1));border-radius:var(--radius-full);font-size:.875rem;font-weight:600;color:var(--text-primary, #e0e0e0);transition:all .3s ease}.compliance-badge:hover{background:#66bb6a26;border-color:#66bb6a4d;box-shadow:0 0 20px #66bb6a33;transform:translateY(-2px)}.cta-section{text-align:center;padding:var(--space-16) var(--space-8);background:linear-gradient(180deg,rgba(30,38,50,.4) 0%,rgba(30,38,50,.2) 50%,transparent 100%);position:relative;overflow:hidden}.cta-section:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:600px;height:600px;background:radial-gradient(circle,rgba(102,187,106,.1) 0%,transparent 70%);animation:cta-pulse 6s ease-in-out infinite;pointer-events:none}@keyframes cta-pulse{0%,to{opacity:.5;transform:translate(-50%,-50%) scale(1)}50%{opacity:.8;transform:translate(-50%,-50%) scale(1.1)}}.cta-content{position:relative;z-index:1}.cta-content h2{font-size:2.5rem;font-weight:800;color:var(--text-primary, #e0e0e0);margin:0 0 var(--space-4) 0;text-shadow:0 0 40px rgba(102,187,106,.3)}.cta-content p{font-size:1.125rem;color:var(--text-muted, #9e9e9e);margin:0 0 var(--space-8) 0;max-width:600px;margin-left:auto;margin-right:auto}.landing-footer{background:#10141acc;border-top:1px solid var(--border-primary, rgba(255, 255, 255, .1));padding:var(--space-6) var(--space-8)}.footer-content{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.footer-brand{display:flex;align-items:center;gap:var(--space-2);font-weight:600;color:var(--text-muted, #9e9e9e)}.footer-brand img{height:24px;width:24px;opacity:.6}.footer-made{display:flex;align-items:center;gap:var(--space-2);font-size:.875rem;color:var(--text-muted, #9e9e9e)}.footer-flag{font-size:1rem}.landing-page:before{content:"";position:fixed;top:0;left:0;right:0;bottom:0;background:radial-gradient(ellipse 80% 50% at 20% 20%,rgba(30,38,50,.5) 0%,transparent 50%),radial-gradient(ellipse 60% 40% at 80% 30%,rgba(42,52,70,.4) 0%,transparent 50%),radial-gradient(ellipse 70% 50% at 70% 80%,rgba(102,187,106,.05) 0%,transparent 50%),radial-gradient(ellipse 50% 30% at 30% 70%,rgba(30,38,50,.3) 0%,transparent 50%);pointer-events:none;z-index:0;animation:bg-shift 20s ease-in-out infinite alternate}@keyframes bg-shift{0%{opacity:1}50%{opacity:.8}to{opacity:1}}.landing-page:after{content:"";position:fixed;top:0;left:0;right:0;bottom:0;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.2) 100%);pointer-events:none;z-index:0}.landing-main{position:relative;z-index:1}.section-header h2{position:relative;display:inline-block}.section-header h2:after{content:"";position:absolute;bottom:-8px;left:50%;transform:translate(-50%);width:60px;height:3px;background:linear-gradient(90deg,#66bb6a,#26a69a);border-radius:2px;box-shadow:0 0 20px #66bb6a80}@media(max-width:1200px){.modules-grid{grid-template-columns:repeat(3,1fr)}.features-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:968px){.landing-header{padding:var(--space-3) var(--space-4)}.landing-nav{display:none}.hero-content{grid-template-columns:1fr;gap:var(--space-6);text-align:center}.hero-text{max-width:100%}.hero-visual{order:-1}.graph-wrapper{max-width:350px}.stats-bar{gap:var(--space-4)}.modules-grid{grid-template-columns:repeat(2,1fr)}.section-header h2{font-size:1.75rem}}@media(max-width:640px){.landing-logo span{display:none}.title-line{font-size:1.75rem}.hero-description{font-size:1rem}.modules-grid,.features-grid{grid-template-columns:1fr}.stats-bar{flex-wrap:wrap;gap:var(--space-4)}.stat-item{flex:1 1 40%}.compliance-badges{gap:var(--space-2)}.compliance-badge{padding:var(--space-2) var(--space-4);font-size:.75rem}.footer-content{flex-direction:column;gap:var(--space-4);text-align:center}.cta-content h2{font-size:1.75rem}}.graph-wrapper.interactive-graph{background:#1e2632b3;aspect-ratio:auto;min-height:450px;max-width:580px;border:1px solid var(--border-primary, rgba(255, 255, 255, .1));box-shadow:0 25px 80px #00000080,0 0 0 1px #ffffff0d inset}.landing-graph-container{width:100%;height:100%;min-height:450px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.landing-graph-container svg{border-radius:var(--radius-lg)}.landing-graph-legend{position:absolute;top:var(--space-3);left:var(--space-3);background:#10141ae6;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--border-primary, rgba(255, 255, 255, .1));border-radius:var(--radius-md);padding:var(--space-3);min-width:140px;box-shadow:0 8px 32px #0006,inset 0 1px #ffffff0d}.landing-graph-legend .legend-title{font-size:.7rem;font-weight:700;color:var(--text-primary, #e0e0e0);margin-bottom:var(--space-2);text-transform:uppercase;letter-spacing:.08em;padding-bottom:var(--space-2);border-bottom:1px solid var(--border-primary, rgba(255, 255, 255, .1))}.landing-graph-legend .legend-item{display:flex;align-items:center;gap:var(--space-2);font-size:.65rem;color:var(--text-secondary, #bdbdbd);padding:3px 0;transition:all .2s ease}.landing-graph-legend .legend-item:hover{color:var(--text-primary, #e0e0e0)}.landing-graph-legend .legend-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;box-shadow:0 0 6px currentColor}.landing-graph-legend .legend-label{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.landing-graph-legend .legend-count{font-size:.6rem;color:var(--text-muted, #9e9e9e);background:#ffffff0d;padding:1px 5px;border-radius:8px;font-weight:600}.landing-graph-legend .legend-more{font-size:.6rem;color:var(--text-muted, #9e9e9e);margin-top:var(--space-2);padding-top:var(--space-2);border-top:1px solid rgba(255,255,255,.05);font-style:italic}.landing-graph-legend .legend-total{font-size:.65rem;color:var(--text-secondary, #bdbdbd);margin-top:var(--space-1);font-weight:600}.landing-graph-indicator{position:absolute;bottom:var(--space-3);right:var(--space-3);display:flex;align-items:center;gap:var(--space-2);background:#10141ae6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(102,187,106,.3);border-radius:var(--radius-full);padding:6px 12px;font-size:.65rem;color:#66bb6a;box-shadow:0 4px 16px #0000004d}.landing-graph-indicator .indicator-dot{width:6px;height:6px;border-radius:50%;background:#66bb6a;animation:indicator-pulse 2s ease-in-out infinite}@keyframes indicator-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}@media(max-width:968px){.graph-wrapper.interactive-graph{min-height:350px;max-width:100%}.landing-graph-container{min-height:350px}.landing-graph-legend{padding:var(--space-2);min-width:120px}.landing-graph-legend .legend-title{font-size:.6rem}.landing-graph-legend .legend-item{font-size:.55rem}.landing-graph-indicator{padding:4px 10px;font-size:.6rem}}@media(max-width:640px){.graph-wrapper.interactive-graph,.landing-graph-container{min-height:300px}.landing-graph-legend{top:var(--space-2);left:var(--space-2);padding:var(--space-2);min-width:100px}.landing-graph-indicator{bottom:var(--space-2);right:var(--space-2)}}.graph-wrapper.interactive-graph .knowledge-graph-page{height:100%;min-height:450px;background:transparent;display:flex;flex-direction:column}.graph-wrapper.interactive-graph .knowledge-graph-page .page-header{display:none}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-controls{position:absolute;top:var(--space-2);right:var(--space-2);left:auto;z-index:10;background:#10141ad9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:var(--radius-md);padding:var(--space-2);border:1px solid rgba(255,255,255,.1);flex-direction:column;gap:var(--space-2)}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-controls-left,.graph-wrapper.interactive-graph .knowledge-graph-page .kg-controls-center{display:none}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-controls-right{flex-direction:column;gap:var(--space-2)}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-spacing-control{display:none}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-zoom-controls{gap:var(--space-1)}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-zoom-level{font-size:.65rem;min-width:40px}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-action-btn{width:24px;height:24px;font-size:.8rem;padding:0}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-main-area{flex:1;display:flex;position:relative}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-tree-panel{display:none}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-container{flex:1;border-radius:var(--radius-lg)}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-legend{position:absolute;top:var(--space-2);left:var(--space-2);max-width:140px;padding:var(--space-2);background:#10141ae6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:var(--radius-md);font-size:.6rem}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-legend-title{font-size:.65rem;margin-bottom:var(--space-1)}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-legend-item{padding:2px 0;font-size:.55rem}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-legend-dot{width:6px;height:6px}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-legend-count{font-size:.5rem;padding:1px 4px}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-legend-separator,.graph-wrapper.interactive-graph .knowledge-graph-page .kg-legend-hint,.graph-wrapper.interactive-graph .knowledge-graph-page .kg-minimap{display:none}@media(max-width:968px){.graph-wrapper.interactive-graph .knowledge-graph-page{min-height:350px}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-legend{max-width:110px;padding:var(--space-1)}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-controls{padding:var(--space-1)}}@media(max-width:640px){.graph-wrapper.interactive-graph .knowledge-graph-page{min-height:300px}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-legend{display:none}.graph-wrapper.interactive-graph .knowledge-graph-page .kg-controls{top:var(--space-1);right:var(--space-1)}}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:var(--space-5);background:var(--background-body)}.login-box{background-color:var(--background-primary);padding:var(--space-10);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);width:100%;max-width:400px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid var(--border-primary)}.login-header{display:flex;align-items:center;justify-content:center;gap:var(--space-3);margin-bottom:var(--space-6);font-size:var(--font-size-xl);font-weight:var(--font-weight-semibold);color:var(--text-secondary)}.login-header img{height:32px;width:32px}.login-form{display:flex;flex-direction:column;gap:var(--space-5)}.auth-switch{text-align:center;font-size:var(--font-size-sm);margin-top:var(--space-5);color:var(--text-muted)}.auth-switch button{background:none;border:none;color:var(--color-link);cursor:pointer;padding:0;font-size:inherit;text-decoration:underline}.auth-switch button:hover{color:var(--color-link-hover)}.signup-form{display:flex;flex-direction:column;gap:var(--space-4)}.signup-box{background-color:var(--background-primary);padding:var(--space-8);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);width:100%;max-width:500px;border:1px solid var(--border-primary)}.pending-activation-box{text-align:center;padding:var(--space-10)}.pending-activation-icon{font-size:64px;margin-bottom:var(--space-5)}.pending-activation-title{font-size:var(--font-size-xl);font-weight:var(--font-weight-semibold);margin-bottom:var(--space-3)}.pending-activation-message{color:var(--text-muted);margin-bottom:var(--space-5)}.password-strength{margin-top:var(--space-2)}.password-strength-bar{height:4px;background:var(--background-tertiary);border-radius:var(--radius-full);overflow:hidden;margin-bottom:var(--space-1)}.password-strength-fill{height:100%;transition:width var(--transition-normal),background-color var(--transition-normal)}.password-strength-fill.weak{width:25%;background-color:var(--color-danger)}.password-strength-fill.fair{width:50%;background-color:var(--color-warning)}.password-strength-fill.good{width:75%;background-color:var(--color-info)}.password-strength-fill.strong{width:100%;background-color:var(--color-success)}.password-strength-text{font-size:var(--font-size-xs);color:var(--text-muted)}.company-selector{margin-bottom:var(--space-5)}.company-option{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--border-primary);border-radius:var(--radius-md);margin-bottom:var(--space-2);cursor:pointer;transition:all var(--transition-fast)}.company-option:hover{background-color:var(--background-secondary)}.company-option.selected{border-color:var(--color-actions);background-color:rgba(var(--color-actions-rgb),.05)}.company-option input[type=radio]{margin:0}.company-logo{width:40px;height:40px;border-radius:var(--radius-md);object-fit:cover}.company-info{flex-grow:1}.company-name{font-weight:var(--font-weight-medium)}.company-type{font-size:var(--font-size-xs);color:var(--text-muted)}.dashboard-header{padding:var(--space-8);text-align:center}.dashboard-welcome{font-size:var(--font-size-2xl);font-weight:var(--font-weight-semibold);margin-bottom:var(--space-2)}.dashboard-date{font-size:var(--font-size-sm);color:var(--text-muted)}.kpi-widgets-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--space-4);margin-bottom:var(--space-5)}.kpi-widget{background:var(--background-primary);border-radius:var(--radius-lg);border:1px solid var(--border-primary);padding:var(--space-5);text-align:center;transition:transform var(--transition-fast),box-shadow var(--transition-fast)}.kpi-widget:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.kpi-widget-value{font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);margin-bottom:var(--space-1)}.kpi-widget-label{font-size:var(--font-size-sm);color:var(--text-muted)}.kpi-widget-trend{font-size:var(--font-size-xs);margin-top:var(--space-2)}.kpi-widget-trend.up{color:var(--trend-up-good)}.kpi-widget-trend.down{color:var(--trend-down-bad)}.kpi-gauge{width:200px;height:100px;position:relative;margin:0 auto var(--space-3)}.kpi-gauge-bg{width:100%;height:200px;border-radius:100px 100px 0 0;background:var(--background-tertiary);position:absolute;top:0;left:0;overflow:hidden}.kpi-gauge-fill{width:100%;height:200px;border-radius:100px 100px 0 0;background:var(--color-save-fg);position:absolute;top:0;left:0;transform-origin:center 100%;transition:transform var(--transition-slow)}.kpi-gauge-fill.in-alert{background:var(--color-reset-fg)}.kpi-gauge-value{position:absolute;bottom:0;left:50%;transform:translate(-50%);font-size:var(--font-size-xl);font-weight:var(--font-weight-bold)}.chart-container{background:var(--background-primary);border-radius:var(--radius-lg);border:1px solid var(--border-primary);padding:var(--space-5)}.chart-title{font-size:var(--font-size-lg);font-weight:var(--font-weight-medium);margin-bottom:var(--space-4)}.chart-legend{display:flex;flex-wrap:wrap;gap:var(--space-4);margin-top:var(--space-4);font-size:var(--font-size-sm)}.chart-legend-item{display:flex;align-items:center;gap:var(--space-2)}.chart-legend-color{width:12px;height:12px;border-radius:var(--radius-sm)}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:var(--space-5)}.summary-card{background:var(--background-primary);border-radius:var(--radius-lg);border:1px solid var(--border-primary);overflow:hidden}.summary-card-header{padding:var(--space-4);background:var(--background-secondary);border-bottom:1px solid var(--border-primary);font-weight:var(--font-weight-medium)}.summary-card-body{padding:var(--space-4)}.summary-list{list-style:none}.summary-list-item{display:flex;justify-content:space-between;padding:var(--space-2) 0;border-bottom:1px solid var(--border-secondary)}.summary-list-item:last-child{border-bottom:none}.activity-timeline{position:relative;padding-left:var(--space-8)}.activity-timeline:before{content:"";position:absolute;left:12px;top:0;bottom:0;width:2px;background:var(--border-primary)}.timeline-item{position:relative;padding-bottom:var(--space-5)}.timeline-item:before{content:"";position:absolute;left:calc(-1 * var(--space-8) + 8px);top:4px;width:10px;height:10px;border-radius:var(--radius-full);background:var(--color-actions);border:2px solid var(--background-primary)}.timeline-item-time{font-size:var(--font-size-xs);color:var(--text-muted);margin-bottom:var(--space-1)}.timeline-item-content{font-size:var(--font-size-sm)}.quick-stats-bar{display:flex;gap:var(--space-6);padding:var(--space-4) var(--space-5);background:var(--background-secondary);border-radius:var(--radius-lg);margin-bottom:var(--space-5)}.quick-stat{text-align:center}.quick-stat-value{font-size:var(--font-size-xl);font-weight:var(--font-weight-bold)}.quick-stat-label{font-size:var(--font-size-xs);color:var(--text-muted)}.audit-tabs{display:flex;border-bottom:1px solid var(--border-primary);margin-bottom:var(--space-5);gap:var(--space-1)}.audit-tabs button{background:none;border:none;padding:var(--space-3) var(--space-4);cursor:pointer;color:var(--text-muted);border-bottom:2px solid transparent;font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);transition:all var(--transition-fast)}.audit-tabs button:hover{color:var(--text-primary);background:var(--background-secondary)}.audit-tabs button.active{color:var(--module-color-active, var(--color-performance));border-bottom-color:var(--module-color-active, var(--color-performance))}.module-page .audit-tabs button.active{color:var(--module-color-active);border-bottom-color:var(--module-color-active)}.audit-page-container{padding:var(--space-5)}.kanban-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:var(--space-4);padding:var(--space-5) 0}.kanban-column{background-color:var(--background-secondary);border-radius:var(--radius-lg);padding:var(--space-3);min-height:400px}.kanban-column-title{font-weight:var(--font-weight-semibold);padding:var(--space-2);margin-bottom:var(--space-3);text-align:center;color:var(--text-secondary);background:var(--background-tertiary);border-radius:var(--radius-md)}.kanban-tasks{display:flex;flex-direction:column;gap:var(--space-3);min-height:200px}.kanban-card{background-color:var(--background-primary);border-radius:var(--radius-md);padding:var(--space-3);box-shadow:var(--shadow-sm);cursor:pointer;border-left:4px solid var(--border-secondary);transition:all var(--transition-fast)}.kanban-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.kanban-card.priority-high{border-left-color:var(--color-danger)}.kanban-card.priority-medium{border-left-color:var(--color-warning)}.kanban-card.priority-low{border-left-color:var(--color-success)}.kanban-card-title{font-weight:var(--font-weight-medium);font-size:var(--font-size-sm);margin-bottom:var(--space-2)}.kanban-card-footer{display:flex;justify-content:space-between;font-size:var(--font-size-xs);color:var(--text-muted);margin-top:var(--space-2)}.calendar-container{background-color:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-5)}.calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-5)}.calendar-header h2{font-size:var(--font-size-xl);font-weight:var(--font-weight-medium)}.calendar-header button{background:none;border:1px solid var(--border-secondary);border-radius:var(--radius-full);width:32px;height:32px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--transition-fast)}.calendar-header button:hover{background:var(--background-secondary)}.calendar-nav{display:flex;gap:var(--space-2)}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:var(--space-1)}.day-header{text-align:center;font-weight:var(--font-weight-semibold);color:var(--text-muted);padding:var(--space-2);font-size:var(--font-size-sm)}.calendar-day{border:1px solid var(--border-secondary);min-height:100px;padding:var(--space-2);background-color:var(--background-secondary);border-radius:var(--radius-md);cursor:pointer;transition:background-color var(--transition-fast)}.calendar-day:hover{background-color:var(--background-tertiary)}.calendar-day.empty{background:none;border:none;cursor:default}.calendar-day.today .day-number{background-color:var(--color-actions);color:#fff;border-radius:var(--radius-full);width:24px;height:24px;display:flex;align-items:center;justify-content:center}.calendar-day.has-event{cursor:pointer;background:var(--color-create-bg)}.day-number{font-weight:var(--font-weight-medium);margin-bottom:var(--space-1)}.calendar-event-dots{display:flex;gap:var(--space-1);margin-top:var(--space-1);flex-wrap:wrap}.calendar-event-dot{width:8px;height:8px;border-radius:var(--radius-full)}.calendar-event-dot.audit{background-color:var(--color-performance)}.calendar-event-dot.nc{background-color:var(--color-incidents)}.calendar-event-dot.action{background-color:var(--color-actions)}.calendar-tooltip{position:fixed;background:#000;color:#fff;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);z-index:var(--z-tooltip);font-size:var(--font-size-xs);pointer-events:none;max-width:250px}.calendar-tooltip ul{margin:var(--space-1) 0 0 0;padding-left:var(--space-4)}.audit-analysis-container{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-5)}@media(max-width:992px){.audit-analysis-container{grid-template-columns:1fr}}.analysis-section{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-5)}.analysis-section-title{font-size:var(--font-size-lg);font-weight:var(--font-weight-medium);margin-bottom:var(--space-4);padding-bottom:var(--space-2);border-bottom:1px solid var(--border-secondary)}.finding-list{display:flex;flex-direction:column;gap:var(--space-3)}.finding-item{padding:var(--space-3);background:var(--background-secondary);border-radius:var(--radius-md);border-left:3px solid var(--border-secondary)}.finding-item.major{border-left-color:var(--color-danger)}.finding-item.minor{border-left-color:var(--color-warning)}.finding-item.observation{border-left-color:var(--color-info)}.finding-title{font-weight:var(--font-weight-medium);margin-bottom:var(--space-1)}.finding-description{font-size:var(--font-size-sm);color:var(--text-secondary)}.safety-dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:var(--space-5);margin-bottom:var(--space-5)}.safety-stat-card{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-5);display:flex;align-items:center;gap:var(--space-4);transition:transform var(--transition-fast),box-shadow var(--transition-fast)}.safety-stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.safety-stat-icon{width:60px;height:60px;border-radius:var(--radius-lg);display:flex;align-items:center;justify-content:center;font-size:var(--font-size-2xl);background:rgba(var(--color-incidents-rgb),.1);color:var(--color-incidents)}.safety-stat-content{flex:1}.safety-stat-value{font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);color:var(--text-primary)}.safety-stat-label{font-size:var(--font-size-sm);color:var(--text-muted)}.safety-stat-trend{font-size:var(--font-size-xs);margin-top:var(--space-1)}.safety-stat-trend.positive{color:var(--color-success)}.safety-stat-trend.negative{color:var(--color-danger)}.incident-severity{display:flex;gap:var(--space-2);align-items:center}.severity-indicator{width:12px;height:12px;border-radius:var(--radius-full)}.severity-indicator.critical{background-color:var(--color-danger)}.severity-indicator.high{background-color:var(--color-warning)}.severity-indicator.medium{background-color:var(--color-info)}.severity-indicator.low{background-color:var(--color-success)}.incident-timeline{position:relative;padding-left:var(--space-8)}.incident-timeline:before{content:"";position:absolute;left:12px;top:0;bottom:0;width:2px;background:var(--border-primary)}.incident-item{position:relative;padding:var(--space-4);margin-bottom:var(--space-4);background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-md);border-left:4px solid var(--color-incidents)}.incident-item:before{content:"";position:absolute;left:calc(-1 * var(--space-8) + 8px);top:20px;width:12px;height:12px;border-radius:var(--radius-full);background:var(--color-incidents);border:2px solid var(--background-primary)}.incident-item-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:var(--space-2)}.incident-item-title{font-weight:var(--font-weight-medium)}.incident-item-date{font-size:var(--font-size-xs);color:var(--text-muted)}.incident-item-description{font-size:var(--font-size-sm);color:var(--text-secondary);margin-bottom:var(--space-2)}.incident-item-meta{display:flex;gap:var(--space-4);font-size:var(--font-size-xs);color:var(--text-muted)}.days-counter{background:linear-gradient(135deg,var(--color-success) 0%,var(--color-success-dark) 100%);color:#fff;border-radius:var(--radius-xl);padding:var(--space-8);text-align:center}.days-counter-value{font-size:72px;font-weight:var(--font-weight-bold);line-height:1;margin-bottom:var(--space-2)}.days-counter-label{font-size:var(--font-size-lg);opacity:.9}.days-counter.warning{background:linear-gradient(135deg,var(--color-warning) 0%,var(--color-warning-dark) 100%)}.days-counter.danger{background:linear-gradient(135deg,var(--color-danger) 0%,var(--color-danger-dark) 100%)}.safety-checklist{list-style:none}.safety-checklist-item{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3);border-bottom:1px solid var(--border-secondary);transition:background-color var(--transition-fast)}.safety-checklist-item:hover{background-color:var(--background-secondary)}.safety-checklist-item:last-child{border-bottom:none}.safety-checklist-item input[type=checkbox]{width:20px;height:20px;accent-color:var(--color-success)}.safety-checklist-item.completed{opacity:.6;text-decoration:line-through}.body-map-container{display:flex;gap:var(--space-5);align-items:flex-start}.body-map{position:relative;width:200px;flex-shrink:0}.body-map-legend{flex:1}.body-map-legend-item{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) 0}.body-map-legend-color{width:16px;height:16px;border-radius:var(--radius-sm)}.hazard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:var(--space-3)}.hazard-card{background:var(--background-secondary);border-radius:var(--radius-md);padding:var(--space-4);text-align:center;cursor:pointer;transition:all var(--transition-fast);border:2px solid transparent}.hazard-card:hover{background:var(--background-tertiary)}.hazard-card.selected{border-color:var(--color-incidents);background:rgba(var(--color-incidents-rgb),.1)}.hazard-card-icon{font-size:var(--font-size-2xl);margin-bottom:var(--space-2)}.hazard-card-label{font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.hazard-card-count{font-size:var(--font-size-xs);color:var(--text-muted);margin-top:var(--space-1)}.knowledge-graph-page{display:flex;flex-direction:column;height:100%;gap:var(--space-4)}.knowledge-graph-page .page-header{margin-bottom:0}.knowledge-graph-page .page-subtitle{font-size:var(--font-size-sm);color:var(--text-muted)}.kg-controls{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-4);background:var(--background-primary);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:var(--radius-lg);border:1px solid var(--border-primary)}.kg-controls-compact{padding:var(--space-2) var(--space-3)}.kg-controls-left,.kg-controls-center,.kg-controls-right{display:flex;align-items:center;gap:var(--space-2)}.kg-controls-left{flex:0 0 auto}.kg-controls-center{flex:1;justify-content:center}.kg-controls-right{flex:0 0 auto}.kg-total-count{font-size:var(--font-size-sm);color:var(--text-muted);font-weight:var(--font-weight-medium)}.kg-help-text{font-size:11px;color:var(--text-muted);white-space:nowrap}.kg-flux-btn{display:flex;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2);border:1px solid var(--border-primary);border-radius:var(--radius-md);background:var(--background-secondary);color:var(--text-secondary);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);cursor:pointer;transition:all var(--transition-fast)}.kg-flux-btn:hover{background:var(--background-tertiary);border-color:var(--border-secondary);color:var(--text-primary)}.kg-flux-btn.active{background:linear-gradient(135deg,#ef444433,#3b82f633);border-color:#ef444480;color:var(--text-primary)}.kg-flux-btn.active .kg-flux-icon{animation:flux-pulse 1.5s ease-in-out infinite}.kg-flux-icon{font-size:14px}@keyframes flux-pulse{0%,to{opacity:.7;transform:scale(1)}50%{opacity:1;transform:scale(1.2)}}.kg-year-filter{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-2);background:var(--background-secondary);border:1px solid var(--border-primary);border-radius:var(--radius-md)}.kg-year-label{font-size:var(--font-size-xs);color:var(--text-muted);white-space:nowrap}.kg-year-buttons{display:flex;gap:var(--space-1)}.kg-year-btn{padding:2px 8px;border:1px solid var(--border-primary);border-radius:var(--radius-sm);background:var(--background-tertiary);color:var(--text-secondary);font-size:11px;font-weight:var(--font-weight-medium);cursor:pointer;transition:all var(--transition-fast)}.kg-year-btn:hover{background:var(--background-primary);border-color:var(--color-success);color:var(--text-primary)}.kg-year-btn.active{background:#19875433;border-color:var(--color-success);color:var(--color-success)}.kg-year-btn.kg-year-clear{background:#dc35451a;border-color:#dc35454d;color:#dc3545;font-size:10px;padding:2px 6px}.kg-year-btn.kg-year-clear:hover{background:#dc354533;border-color:#dc3545}.kg-action-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid var(--border-primary);border-radius:var(--radius-md);background:var(--background-secondary);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:var(--text-secondary);font-size:16px;cursor:pointer;transition:all var(--transition-fast)}.kg-action-btn:hover{background:var(--background-tertiary);color:var(--text-primary);border-color:var(--border-secondary)}.kg-action-btn.active{background:#19875433;border-color:#19875480;color:var(--text-primary)}.kg-zoom-level{min-width:50px;text-align:center;font-size:var(--font-size-sm);color:var(--text-muted);font-variant-numeric:tabular-nums}.kg-spacing-control{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);background:var(--background-secondary);border:1px solid var(--border-primary);border-radius:var(--radius-md)}.kg-spacing-label{font-size:var(--font-size-sm);color:var(--text-muted);white-space:nowrap}.kg-spacing-slider{width:100px;height:4px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--border-primary);border-radius:2px;outline:none;cursor:pointer}.kg-spacing-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:14px;height:14px;background:var(--color-success)!important;border-radius:50%;cursor:pointer;transition:transform .15s ease}.kg-spacing-slider::-webkit-slider-thumb:hover{transform:scale(1.2)}.kg-spacing-slider::-moz-range-thumb{width:14px;height:14px;background:var(--color-success)!important;border:none;border-radius:50%;cursor:pointer}.kg-spacing-value{min-width:35px;font-size:var(--font-size-sm);color:var(--text-primary);font-weight:var(--font-weight-medium);font-variant-numeric:tabular-nums}.kg-zoom-controls{display:flex;align-items:center;gap:var(--space-2)}.kg-container{flex:1;min-height:550px;background:var(--background-primary);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--border-primary);border-radius:var(--radius-xl);position:relative;overflow:hidden}.kg-svg{display:block;width:100%;height:100%;-webkit-user-select:none;user-select:none}.kg-node-group{transition:opacity var(--transition-fast)}.kg-node-group .kg-halo{animation:pulse-halo 1.5s ease-in-out infinite}@keyframes pulse-halo{0%,to{opacity:.4}50%{opacity:.7}}.kg-critical-halo{animation:critical-pulse 2s ease-in-out infinite}.kg-critical-halo-outer{animation:critical-pulse-outer 2s ease-in-out infinite}@keyframes critical-pulse{0%,to{stroke-opacity:.6;stroke-width:3}50%{stroke-opacity:.9;stroke-width:4}}@keyframes critical-pulse-outer{0%,to{stroke-opacity:.2;r:calc(100% + 15px)}50%{stroke-opacity:.5;r:calc(100% + 20px)}}.kg-legend{position:absolute;top:var(--space-4);left:var(--space-4);background:var(--background-primary);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-3);font-size:var(--font-size-xs);box-shadow:var(--shadow-lg);z-index:10;max-width:180px}.kg-legend-title{display:flex;align-items:center;justify-content:space-between;font-weight:var(--font-weight-semibold);color:var(--text-primary);margin-bottom:var(--space-2);padding-bottom:var(--space-2);border-bottom:1px solid var(--border-primary)}.kg-legend-reset{width:18px;height:18px;display:flex;align-items:center;justify-content:center;background:var(--background-tertiary);border:1px solid var(--border-primary);border-radius:var(--radius-sm);color:var(--text-muted);font-size:10px;cursor:pointer;transition:all var(--transition-fast)}.kg-legend-reset:hover{background:#e53935;border-color:#e53935;color:#fff}.kg-legend-count{margin-left:auto;font-size:10px;color:var(--text-muted);background:var(--background-tertiary);padding:1px 5px;border-radius:var(--radius-sm)}.kg-legend-item{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-2);margin:0 calc(-1 * var(--space-2));color:var(--text-secondary);border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition-fast)}.kg-legend-item:hover{background:var(--background-secondary);color:var(--text-primary)}.kg-legend-item.active{background:#19875426;color:var(--text-primary)}.kg-legend-item.dimmed{opacity:.4}.kg-legend-item.dimmed:hover{opacity:1}.kg-legend-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;box-shadow:0 0 4px #0003}.kg-legend-separator{height:1px;background:var(--border-primary);margin:var(--space-2) 0}.kg-legend-hint{font-size:10px;color:var(--text-muted);font-style:italic}.kg-minimap{position:absolute;bottom:var(--space-4);right:var(--space-4);width:160px;height:100px;background:var(--background-primary);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--border-primary);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);overflow:hidden;z-index:10;opacity:.85;transition:opacity var(--transition-fast)}.kg-minimap:hover{opacity:1}.kg-info{padding:var(--space-3) var(--space-4);background:var(--background-secondary);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-radius:var(--radius-lg);text-align:center;font-size:var(--font-size-sm);color:var(--text-muted);border:1px solid var(--border-primary)}.kg-popup-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:var(--z-modal);animation:fadeIn .15s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.kg-popup{background:var(--background-primary);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--border-primary);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);width:90%;max-width:450px;max-height:80vh;display:flex;flex-direction:column;animation:slideUp .2s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.kg-popup-header{display:flex;align-items:center;justify-content:space-between;padding:var(--space-4);border-bottom:1px solid var(--border-primary)}.kg-popup-title{display:flex;align-items:center;gap:var(--space-3);font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);color:var(--text-primary)}.kg-popup-dot{width:14px;height:14px;border-radius:50%;flex-shrink:0;box-shadow:0 0 6px #0000004d}.kg-popup-close{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--background-secondary);border:1px solid var(--border-primary);border-radius:var(--radius-md);font-size:20px;color:var(--text-muted);cursor:pointer;transition:all var(--transition-fast)}.kg-popup-close:hover{background:var(--background-tertiary);color:var(--text-primary);border-color:var(--border-secondary)}.kg-popup-subtitle{padding:var(--space-2) var(--space-4);font-size:var(--font-size-sm);color:var(--text-muted);background:var(--background-secondary);border-bottom:1px solid var(--border-primary)}.kg-popup-connections{flex:1;overflow-y:auto;padding:var(--space-3);display:flex;flex-direction:column;gap:var(--space-2)}.kg-popup-connection{display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-3);background:var(--background-secondary);border:1px solid var(--border-primary);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-fast)}.kg-popup-connection:hover{background:var(--background-tertiary);border-color:var(--border-secondary);transform:translate(4px)}.kg-popup-conn-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;margin-top:4px;box-shadow:0 0 4px #0003}.kg-popup-conn-info{flex:1;min-width:0}.kg-popup-conn-label{font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--text-primary);margin-bottom:var(--space-1);word-break:break-word}.kg-popup-conn-type{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.kg-popup-link-badge{display:inline-block;padding:2px 8px;border-radius:var(--radius-sm);font-size:10px;font-weight:var(--font-weight-medium);color:#fff;text-transform:uppercase;letter-spacing:.02em}.kg-popup-conn-direction{font-size:11px;color:var(--text-muted)}.kg-popup-detail-btn{margin:var(--space-3);margin-top:0;padding:var(--space-3);background:var(--color-success);border:none;border-radius:var(--radius-md);color:#fff;font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);cursor:pointer;transition:all var(--transition-fast)}.kg-popup-detail-btn:hover{filter:brightness(1.1);transform:translateY(-1px)}.kg-popup-empty{text-align:center;padding:var(--space-6);color:var(--text-muted);font-style:italic}.kg-main-area{display:flex;flex:1;gap:var(--space-3);min-height:0}.kg-main-area .kg-container{flex:1;min-width:0}.kg-tree-panel{width:280px;min-width:280px;background:var(--background-primary);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--border-primary);border-radius:var(--radius-xl);display:flex;flex-direction:column;overflow:hidden}.kg-tree-header{display:flex;justify-content:space-between;align-items:center;padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border-primary);background:var(--background-secondary)}.kg-tree-title{font-weight:var(--font-weight-semibold);color:var(--text-primary);font-size:var(--font-size-sm)}.kg-tree-count{font-size:var(--font-size-xs);color:var(--text-muted);background:var(--background-tertiary);padding:2px 8px;border-radius:var(--radius-sm)}.kg-tree-content{flex:1;overflow-y:auto;padding:var(--space-2)}.kg-tree-category{margin-bottom:var(--space-1)}.kg-tree-cat-header{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-2);border-radius:var(--radius-md);cursor:pointer;transition:background var(--transition-fast)}.kg-tree-cat-header:hover,.kg-tree-cat-header.expanded{background:var(--background-secondary)}.kg-tree-arrow{font-size:10px;color:var(--text-muted);width:12px;text-align:center}.kg-tree-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.kg-tree-cat-label{flex:1;font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--text-primary)}.kg-tree-cat-count{font-size:var(--font-size-xs);color:var(--text-muted);background:var(--background-tertiary);padding:1px 6px;border-radius:var(--radius-sm);min-width:20px;text-align:center}.kg-tree-submodules{padding-left:var(--space-3)}.kg-tree-submodule{margin-top:var(--space-1)}.kg-tree-sm-header{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);cursor:pointer;transition:background var(--transition-fast)}.kg-tree-sm-header:hover{background:var(--background-tertiary)}.kg-tree-sm-label{flex:1;font-size:var(--font-size-xs);color:var(--text-secondary)}.kg-tree-sm-count{font-size:10px;color:var(--text-muted);background:var(--background-primary);padding:1px 5px;border-radius:var(--radius-sm)}.kg-tree-items{padding-left:var(--space-4);margin-top:var(--space-1)}.kg-tree-item{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition-fast);border-left:2px solid transparent}.kg-tree-item:hover{background:var(--background-tertiary);border-left-color:var(--color-success)}.kg-tree-item.selected{background:#19875426;border-left-color:var(--color-success)}.kg-tree-item-label{flex:1;font-size:11px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kg-tree-item.selected .kg-tree-item-label{color:var(--text-primary);font-weight:var(--font-weight-medium)}.kg-tree-item-connections{font-size:10px;font-weight:var(--font-weight-semibold);padding:1px 5px;border-radius:var(--radius-sm);min-width:18px;text-align:center}.kg-tree-item-connections.low{background:var(--background-tertiary);color:var(--text-muted)}.kg-tree-item-connections.medium{background:#3b82f633;color:#60a5fa}.kg-tree-item-connections.high{background:#22c55e33;color:#4ade80}.kg-tree-content::-webkit-scrollbar{width:6px}.kg-tree-content::-webkit-scrollbar-track{background:transparent}.kg-tree-content::-webkit-scrollbar-thumb{background:var(--border-secondary);border-radius:3px}.kg-tree-content::-webkit-scrollbar-thumb:hover{background:var(--border-primary)}.kg-heatmap-scale{display:flex;flex-direction:column;gap:var(--space-1);padding:var(--space-2) 0}.kg-heatmap-gradient{height:12px;border-radius:var(--radius-sm);background:linear-gradient(to right,#3b82f6cc,#22d3eed9,#34d399d9 40%,#facc15e6 55%,#fb923ce6 75%,#ef4444f2);box-shadow:0 0 8px #ef44444d,0 0 4px #3b82f64d}.kg-heatmap-labels{display:flex;justify-content:space-between;font-size:9px;color:var(--text-muted)}.kg-heatmap-labels span:first-child{color:#3b82f6}.kg-heatmap-labels span:last-child{color:#ef4444}.kg-legend.heatmap-active{border-color:#ef44444d;box-shadow:0 0 20px #ef444426,var(--shadow-lg)}@media(max-width:1024px){.kg-tree-panel{width:240px;min-width:240px}}@media(max-width:768px){.kg-main-area{flex-direction:column}.kg-tree-panel{display:none}.kg-controls{flex-direction:column;align-items:stretch}.kg-filters{overflow-x:auto;flex-wrap:nowrap;padding-bottom:var(--space-2);-webkit-overflow-scrolling:touch}.kg-filter-btn{white-space:nowrap;flex-shrink:0}.kg-actions{justify-content:center}.kg-container{min-height:400px}.kg-legend{top:var(--space-2);left:var(--space-2);padding:var(--space-2);font-size:10px;max-width:140px}.kg-minimap{width:120px;height:80px;bottom:var(--space-2);right:var(--space-2)}.kg-popup{width:95%;max-height:85vh}}.nc-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--space-4);margin-bottom:var(--space-5)}.nc-stat-card{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-4);text-align:center;border-top:4px solid var(--color-incidents)}.nc-stat-value{font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);color:var(--color-incidents)}.nc-stat-label{font-size:var(--font-size-sm);color:var(--text-muted);margin-top:var(--space-1)}.nc-status-flow{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-4);background:var(--background-secondary);border-radius:var(--radius-lg);margin-bottom:var(--space-5);overflow-x:auto}.nc-status-step{display:flex;flex-direction:column;align-items:center;min-width:120px;padding:var(--space-3);border-radius:var(--radius-md);background:var(--background-primary);border:2px solid var(--border-primary);position:relative}.nc-status-step.current{border-color:var(--color-incidents);background:rgba(var(--color-incidents-rgb),.05)}.nc-status-step.completed{border-color:var(--color-success);background:rgba(var(--color-success-rgb),.05)}.nc-status-step-icon{width:40px;height:40px;border-radius:var(--radius-full);display:flex;align-items:center;justify-content:center;background:var(--background-tertiary);margin-bottom:var(--space-2)}.nc-status-step.current .nc-status-step-icon{background:var(--color-incidents);color:#fff}.nc-status-step.completed .nc-status-step-icon{background:var(--color-success);color:#fff}.nc-status-step-label{font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);text-align:center}.nc-status-arrow{color:var(--text-muted);font-size:var(--font-size-lg);flex-shrink:0}.nc-type-badge{display:inline-flex;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium)}.nc-type-badge.major{background:var(--color-danger-light);color:var(--color-danger-dark)}.nc-type-badge.minor{background:var(--color-warning-light);color:var(--color-warning-dark)}.nc-type-badge.observation{background:var(--color-info-light);color:var(--color-info-dark)}.nc-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-5)}@media(max-width:992px){.nc-detail-grid{grid-template-columns:1fr}}.nc-detail-section{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-5)}.nc-detail-section-title{font-size:var(--font-size-lg);font-weight:var(--font-weight-medium);margin-bottom:var(--space-4);padding-bottom:var(--space-2);border-bottom:1px solid var(--border-secondary);color:var(--color-incidents)}.methodology-8d{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--space-3)}.step-8d{background:var(--background-secondary);border-radius:var(--radius-md);padding:var(--space-4);border-left:4px solid var(--border-secondary);transition:all var(--transition-fast)}.step-8d:hover{background:var(--background-tertiary)}.step-8d.completed{border-left-color:var(--color-success)}.step-8d.in-progress{border-left-color:var(--color-warning)}.step-8d-header{display:flex;align-items:center;gap:var(--space-2);margin-bottom:var(--space-2)}.step-8d-number{width:28px;height:28px;border-radius:var(--radius-full);background:var(--background-tertiary);display:flex;align-items:center;justify-content:center;font-weight:var(--font-weight-bold);font-size:var(--font-size-sm)}.step-8d.completed .step-8d-number{background:var(--color-success);color:#fff}.step-8d.in-progress .step-8d-number{background:var(--color-warning);color:#fff}.step-8d-title{font-weight:var(--font-weight-medium);font-size:var(--font-size-sm)}.step-8d-content{font-size:var(--font-size-xs);color:var(--text-muted)}.root-cause-diagram{padding:var(--space-4);background:var(--background-secondary);border-radius:var(--radius-md)}.fishbone-container{position:relative;min-height:300px}.fishbone-main{position:absolute;top:50%;left:0;right:0;height:4px;background:var(--color-incidents);transform:translateY(-50%)}.fishbone-head{position:absolute;right:0;top:50%;transform:translateY(-50%);width:40px;height:40px;background:var(--color-incidents);border-radius:0 var(--radius-full) var(--radius-full) 0;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:var(--font-weight-bold)}.fishbone-branch{position:absolute;padding:var(--space-3);background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-md);max-width:150px;font-size:var(--font-size-sm)}.nc-linked-items{display:flex;flex-direction:column;gap:var(--space-2)}.nc-linked-item{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3);background:var(--background-secondary);border-radius:var(--radius-md);cursor:pointer;transition:background-color var(--transition-fast)}.nc-linked-item:hover{background:var(--background-tertiary)}.nc-linked-item-icon{width:32px;height:32px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;font-size:var(--font-size-sm)}.nc-linked-item-icon.action{background:rgba(var(--color-actions-rgb),.1);color:var(--color-actions)}.nc-linked-item-icon.document{background:rgba(var(--color-documentation-rgb),.1);color:var(--color-documentation)}.nc-linked-item-icon.audit{background:rgba(var(--color-performance-rgb),.1);color:var(--color-performance)}.nc-linked-item-content{flex:1}.nc-linked-item-title{font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.nc-linked-item-meta{font-size:var(--font-size-xs);color:var(--text-muted)}.nc-cost-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-4);margin-bottom:var(--space-4)}.nc-cost-item{text-align:center;padding:var(--space-4);background:var(--background-secondary);border-radius:var(--radius-md)}.nc-cost-value{font-size:var(--font-size-xl);font-weight:var(--font-weight-bold)}.nc-cost-label{font-size:var(--font-size-xs);color:var(--text-muted);margin-top:var(--space-1)}.nc-cost-item.total{background:rgba(var(--color-incidents-rgb),.1)}.nc-cost-item.total .nc-cost-value{color:var(--color-incidents)}.actions-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:var(--space-4);margin-bottom:var(--space-5)}.action-overview-card{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-3)}.action-overview-header{display:flex;justify-content:space-between;align-items:center}.action-overview-title{font-weight:var(--font-weight-medium);color:var(--text-secondary)}.action-overview-icon{width:40px;height:40px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;background:rgba(var(--color-actions-rgb),.1);color:var(--color-actions)}.action-overview-value{font-size:var(--font-size-3xl);font-weight:var(--font-weight-bold)}.action-overview-meta{display:flex;gap:var(--space-4);font-size:var(--font-size-xs);color:var(--text-muted)}.action-type-indicator{display:inline-flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.action-type-indicator.corrective{background:rgba(var(--color-incidents-rgb),.1);color:var(--color-incidents)}.action-type-indicator.preventive{background:rgba(var(--color-performance-rgb),.1);color:var(--color-performance)}.action-type-indicator.improvement{background:rgba(var(--color-actions-rgb),.1);color:var(--color-actions)}.action-priority{display:flex;align-items:center;gap:var(--space-2)}.priority-stars{display:flex;gap:2px}.priority-star{color:var(--text-muted)}.priority-star.filled{color:var(--color-warning)}.action-timeline{position:relative;padding:var(--space-4)}.action-timeline-bar{height:8px;background:var(--background-tertiary);border-radius:var(--radius-full);position:relative;margin:var(--space-4) 0}.action-timeline-progress{height:100%;border-radius:var(--radius-full);background:var(--color-actions);transition:width var(--transition-normal)}.action-timeline-progress.overdue{background:var(--color-danger)}.action-timeline-progress.warning{background:var(--color-warning)}.action-timeline-markers{display:flex;justify-content:space-between;font-size:var(--font-size-xs);color:var(--text-muted)}.action-timeline-marker{position:relative;text-align:center}.action-timeline-marker:before{content:"";position:absolute;top:-12px;left:50%;transform:translate(-50%);width:8px;height:8px;border-radius:var(--radius-full);background:var(--background-tertiary);border:2px solid var(--border-primary)}.action-timeline-marker.completed:before{background:var(--color-success);border-color:var(--color-success)}.action-timeline-marker.current:before{background:var(--color-actions);border-color:var(--color-actions)}.action-detail-container{display:grid;grid-template-columns:2fr 1fr;gap:var(--space-5)}@media(max-width:1200px){.action-detail-container{grid-template-columns:1fr}}.action-detail-main{display:flex;flex-direction:column;gap:var(--space-5)}.action-detail-sidebar{display:flex;flex-direction:column;gap:var(--space-4)}.action-detail-card{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-5)}.action-detail-title{font-size:var(--font-size-lg);font-weight:var(--font-weight-medium);margin-bottom:var(--space-4);padding-bottom:var(--space-2);border-bottom:1px solid var(--border-secondary)}.action-steps{display:flex;flex-direction:column;gap:var(--space-3)}.action-step{display:flex;gap:var(--space-3);padding:var(--space-3);background:var(--background-secondary);border-radius:var(--radius-md);align-items:flex-start}.action-step-checkbox{flex-shrink:0;margin-top:var(--space-1)}.action-step-checkbox input[type=checkbox]{width:20px;height:20px;accent-color:var(--color-success)}.action-step-content{flex:1}.action-step-title{font-weight:var(--font-weight-medium);margin-bottom:var(--space-1)}.action-step-description{font-size:var(--font-size-sm);color:var(--text-muted)}.action-step.completed .action-step-title{text-decoration:line-through;color:var(--text-muted)}.action-step-meta{display:flex;gap:var(--space-3);font-size:var(--font-size-xs);color:var(--text-muted);margin-top:var(--space-2)}.action-assignees{display:flex;flex-wrap:wrap;gap:var(--space-2)}.action-assignee{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);background:var(--background-secondary);border-radius:var(--radius-full);font-size:var(--font-size-sm)}.action-assignee-avatar{width:24px;height:24px;border-radius:var(--radius-full);background:var(--color-actions);color:#fff;display:flex;align-items:center;justify-content:center;font-size:var(--font-size-xs);font-weight:var(--font-weight-medium)}.effectiveness-meter{background:var(--background-secondary);border-radius:var(--radius-lg);padding:var(--space-5)}.effectiveness-score{text-align:center;margin-bottom:var(--space-4)}.effectiveness-value{font-size:var(--font-size-3xl);font-weight:var(--font-weight-bold)}.effectiveness-value.high{color:var(--color-success)}.effectiveness-value.medium{color:var(--color-warning)}.effectiveness-value.low{color:var(--color-danger)}.effectiveness-label{font-size:var(--font-size-sm);color:var(--text-muted)}.effectiveness-criteria{display:flex;flex-direction:column;gap:var(--space-2)}.effectiveness-criterion{display:flex;align-items:center;gap:var(--space-2);font-size:var(--font-size-sm)}.effectiveness-criterion-icon{width:20px;height:20px;border-radius:var(--radius-full);display:flex;align-items:center;justify-content:center;font-size:var(--font-size-xs)}.effectiveness-criterion-icon.met{background:var(--color-success);color:#fff}.effectiveness-criterion-icon.not-met{background:var(--color-danger);color:#fff}.action-source{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4);background:var(--background-secondary);border-radius:var(--radius-md);border-left:4px solid var(--color-incidents);cursor:pointer;transition:background-color var(--transition-fast)}.action-source:hover{background:var(--background-tertiary)}.action-source.from-nc{border-left-color:var(--color-incidents)}.action-source.from-audit{border-left-color:var(--color-performance)}.action-source.from-risk{border-left-color:var(--color-risques)}.action-source-icon{width:40px;height:40px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;font-size:var(--font-size-lg)}.action-source.from-nc .action-source-icon{background:rgba(var(--color-incidents-rgb),.1);color:var(--color-incidents)}.action-source.from-audit .action-source-icon{background:rgba(var(--color-performance-rgb),.1);color:var(--color-performance)}.action-source.from-risk .action-source-icon{background:rgba(var(--color-risques-rgb),.1);color:var(--color-risques)}.action-source-content{flex:1}.action-source-type{font-size:var(--font-size-xs);color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.action-source-title{font-weight:var(--font-weight-medium)}.documents-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:var(--space-4)}.document-card{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-4);cursor:pointer;transition:all var(--transition-fast);display:flex;flex-direction:column;gap:var(--space-3)}.document-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:var(--color-documentation)}.document-card-icon{width:48px;height:48px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;font-size:var(--font-size-xl)}.document-card-icon.pdf{background:#c628281a;color:#c62828}.document-card-icon.doc,.document-card-icon.docx{background:#1565c01a;color:#1565c0}.document-card-icon.xls,.document-card-icon.xlsx{background:#2e7d321a;color:#2e7d32}.document-card-icon.ppt,.document-card-icon.pptx{background:#ef6c001a;color:#ef6c00}.document-card-icon.folder{background:rgba(var(--color-documentation-rgb),.1);color:var(--color-documentation)}.document-card-title{font-weight:var(--font-weight-medium);font-size:var(--font-size-sm);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-card-meta{font-size:var(--font-size-xs);color:var(--text-muted);display:flex;justify-content:space-between}.documents-list{display:flex;flex-direction:column;gap:var(--space-2)}.document-list-item{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-3) var(--space-4);background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-fast)}.document-list-item:hover{background:var(--background-secondary);border-color:var(--color-documentation)}.document-list-icon{width:40px;height:40px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;flex-shrink:0}.document-list-content{flex:1;min-width:0}.document-list-title{font-weight:var(--font-weight-medium);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-list-description{font-size:var(--font-size-sm);color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-list-meta{display:flex;gap:var(--space-4);font-size:var(--font-size-xs);color:var(--text-muted);flex-shrink:0}.document-breadcrumb{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-4);background:var(--background-secondary);border-radius:var(--radius-md);margin-bottom:var(--space-4);overflow-x:auto}.document-breadcrumb-item{display:flex;align-items:center;gap:var(--space-2);font-size:var(--font-size-sm);color:var(--text-muted);cursor:pointer;white-space:nowrap}.document-breadcrumb-item:hover{color:var(--color-documentation)}.document-breadcrumb-item.current{color:var(--text-primary);font-weight:var(--font-weight-medium)}.document-breadcrumb-separator{color:var(--text-muted)}.document-viewer{display:grid;grid-template-columns:1fr 300px;gap:var(--space-5);min-height:600px}@media(max-width:1200px){.document-viewer{grid-template-columns:1fr}}.document-preview{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column}.document-preview-header{display:flex;align-items:center;justify-content:space-between;padding:var(--space-3) var(--space-4);background:var(--background-secondary);border-bottom:1px solid var(--border-primary)}.document-preview-title{font-weight:var(--font-weight-medium);display:flex;align-items:center;gap:var(--space-2)}.document-preview-actions{display:flex;gap:var(--space-2)}.document-preview-content{flex:1;padding:var(--space-5);overflow:auto}.document-sidebar{display:flex;flex-direction:column;gap:var(--space-4)}.document-info-panel{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-4)}.document-info-title{font-weight:var(--font-weight-medium);margin-bottom:var(--space-4);padding-bottom:var(--space-2);border-bottom:1px solid var(--border-secondary)}.document-info-list{display:flex;flex-direction:column;gap:var(--space-3)}.document-info-item{display:flex;flex-direction:column;gap:var(--space-1)}.document-info-label{font-size:var(--font-size-xs);color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.document-info-value{font-size:var(--font-size-sm)}.version-history{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-4)}.version-history-title{font-weight:var(--font-weight-medium);margin-bottom:var(--space-4);padding-bottom:var(--space-2);border-bottom:1px solid var(--border-secondary)}.version-list{display:flex;flex-direction:column;gap:var(--space-2)}.version-item{display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-md);cursor:pointer;transition:background-color var(--transition-fast)}.version-item:hover{background:var(--background-secondary)}.version-item.current{background:rgba(var(--color-documentation-rgb),.1);border-left:3px solid var(--color-documentation)}.version-number{font-weight:var(--font-weight-bold);color:var(--color-documentation);min-width:40px}.version-content{flex:1}.version-date{font-size:var(--font-size-sm)}.version-author{font-size:var(--font-size-xs);color:var(--text-muted)}.version-changes{font-size:var(--font-size-xs);color:var(--text-muted);margin-top:var(--space-1)}.approval-workflow{background:var(--background-secondary);border-radius:var(--radius-md);padding:var(--space-4)}.approval-step{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--border-secondary)}.approval-step:last-child{border-bottom:none}.approval-step-icon{width:32px;height:32px;border-radius:var(--radius-full);display:flex;align-items:center;justify-content:center;font-size:var(--font-size-sm)}.approval-step-icon.pending{background:var(--background-tertiary);color:var(--text-muted)}.approval-step-icon.approved{background:var(--color-success);color:#fff}.approval-step-icon.rejected{background:var(--color-danger);color:#fff}.approval-step-content{flex:1}.approval-step-title{font-weight:var(--font-weight-medium);font-size:var(--font-size-sm)}.approval-step-meta{font-size:var(--font-size-xs);color:var(--text-muted)}.document-categories{display:flex;flex-wrap:wrap;gap:var(--space-2)}.document-category-tag{display:inline-flex;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-3);background:rgba(var(--color-documentation-rgb),.1);color:var(--color-documentation);border-radius:var(--radius-full);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium)}.document-upload-zone{border:2px dashed var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-10);text-align:center;cursor:pointer;transition:all var(--transition-fast)}.document-upload-zone:hover{border-color:var(--color-documentation);background:rgba(var(--color-documentation-rgb),.05)}.document-upload-zone.dragging{border-color:var(--color-documentation);background:rgba(var(--color-documentation-rgb),.1)}.document-upload-icon{font-size:48px;color:var(--text-muted);margin-bottom:var(--space-4)}.document-upload-text{font-size:var(--font-size-lg);color:var(--text-secondary);margin-bottom:var(--space-2)}.document-upload-hint{font-size:var(--font-size-sm);color:var(--text-muted)}.risk-matrix-container{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-5);margin-bottom:var(--space-5)}.risk-matrix{display:grid;grid-template-columns:auto repeat(5,1fr);gap:2px;margin-top:var(--space-4)}.risk-matrix-header{text-align:center;font-size:var(--font-size-lg);font-weight:var(--font-weight-medium);margin-bottom:var(--space-4)}.risk-matrix-label{display:flex;align-items:center;justify-content:center;padding:var(--space-2);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);color:var(--text-muted)}.risk-matrix-label.y-axis{writing-mode:vertical-rl;text-orientation:mixed;transform:rotate(180deg)}.risk-matrix-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);font-weight:var(--font-weight-bold);cursor:pointer;transition:transform var(--transition-fast);position:relative}.risk-matrix-cell:hover{transform:scale(1.05);z-index:1}.risk-matrix-cell.level-1{background:var(--badge-low-bg);color:var(--badge-low-fg)}.risk-matrix-cell.level-2{background:var(--badge-medium-bg);color:var(--badge-medium-fg)}.risk-matrix-cell.level-3{background:var(--badge-high-bg);color:var(--badge-high-fg)}.risk-matrix-cell.level-4{background:var(--badge-critical-bg);color:var(--badge-critical-fg)}.risk-matrix-count{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:var(--radius-full);background:var(--color-risques);color:#fff;font-size:var(--font-size-xs);display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-md)}.risk-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:var(--space-4)}.risk-card{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-4);border-left:4px solid var(--color-risques);transition:all var(--transition-fast)}.risk-card:hover{box-shadow:var(--shadow-md)}.risk-card.opportunity{border-left-color:var(--color-success)}.risk-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:var(--space-3)}.risk-card-title{font-weight:var(--font-weight-medium);flex:1}.risk-card-level{padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);font-size:var(--font-size-xs);font-weight:var(--font-weight-bold)}.risk-card-description{font-size:var(--font-size-sm);color:var(--text-secondary);margin-bottom:var(--space-3)}.risk-card-scores{display:flex;gap:var(--space-4);padding:var(--space-3);background:var(--background-secondary);border-radius:var(--radius-md);margin-bottom:var(--space-3)}.risk-score{text-align:center;flex:1}.risk-score-value{font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);color:var(--color-risques)}.risk-score-label{font-size:var(--font-size-xs);color:var(--text-muted)}.risk-card-footer{display:flex;justify-content:space-between;align-items:center;font-size:var(--font-size-xs);color:var(--text-muted)}.risk-treatment{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-5)}.risk-treatment-options{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-3);margin-bottom:var(--space-5)}@media(max-width:992px){.risk-treatment-options{grid-template-columns:repeat(2,1fr)}}.treatment-option{padding:var(--space-4);background:var(--background-secondary);border:2px solid var(--border-primary);border-radius:var(--radius-md);text-align:center;cursor:pointer;transition:all var(--transition-fast)}.treatment-option:hover{border-color:var(--color-risques)}.treatment-option.selected{border-color:var(--color-risques);background:rgba(var(--color-risques-rgb),.1)}.treatment-option-icon{font-size:var(--font-size-2xl);margin-bottom:var(--space-2)}.treatment-option-title{font-weight:var(--font-weight-medium);font-size:var(--font-size-sm);margin-bottom:var(--space-1)}.treatment-option-description{font-size:var(--font-size-xs);color:var(--text-muted)}.risk-register{overflow-x:auto}.risk-register-table{width:100%;border-collapse:collapse}.risk-register-table th,.risk-register-table td{padding:var(--space-3);text-align:left;border-bottom:1px solid var(--border-secondary)}.risk-register-table th{background:var(--background-secondary);font-weight:var(--font-weight-medium);font-size:var(--font-size-sm);white-space:nowrap}.risk-register-table tr:hover{background:var(--background-secondary)}.risk-id{font-weight:var(--font-weight-bold);color:var(--color-risques)}.opportunity-indicator{display:inline-flex;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2);background:rgba(var(--color-success-rgb),.1);color:var(--color-success);border-radius:var(--radius-sm);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium)}.risk-trend-container{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-5)}.risk-trend-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-4)}.risk-trend-title{font-weight:var(--font-weight-medium)}.risk-trend-legend{display:flex;gap:var(--space-4);font-size:var(--font-size-sm)}.risk-trend-legend-item{display:flex;align-items:center;gap:var(--space-2)}.risk-trend-legend-color{width:12px;height:12px;border-radius:var(--radius-sm)}.risk-assessment-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-5)}@media(max-width:768px){.risk-assessment-grid{grid-template-columns:1fr}}.assessment-section{background:var(--background-secondary);border-radius:var(--radius-md);padding:var(--space-4)}.assessment-section-title{font-weight:var(--font-weight-medium);margin-bottom:var(--space-3);display:flex;align-items:center;gap:var(--space-2)}.assessment-slider{margin:var(--space-4) 0}.assessment-slider-labels{display:flex;justify-content:space-between;font-size:var(--font-size-xs);color:var(--text-muted);margin-top:var(--space-2)}.risk-controls{display:flex;flex-direction:column;gap:var(--space-3)}.risk-control-item{display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-3);background:var(--background-secondary);border-radius:var(--radius-md)}.risk-control-checkbox{margin-top:var(--space-1)}.risk-control-content{flex:1}.risk-control-title{font-weight:var(--font-weight-medium);font-size:var(--font-size-sm)}.risk-control-description{font-size:var(--font-size-xs);color:var(--text-muted)}.risk-control-status{padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium)}.risk-control-status.effective{background:rgba(var(--color-success-rgb),.1);color:var(--color-success)}.risk-control-status.partial{background:rgba(var(--color-warning-rgb),.1);color:var(--color-warning)}.risk-control-status.ineffective{background:rgba(var(--color-danger-rgb),.1);color:var(--color-danger)}.admin-layout{display:grid;grid-template-columns:250px 1fr;gap:var(--space-5);min-height:calc(100vh - 80px)}@media(max-width:992px){.admin-layout{grid-template-columns:1fr}}.admin-sidebar{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-4);height:fit-content;position:sticky;top:var(--space-4)}.admin-sidebar-title{font-weight:var(--font-weight-semibold);padding:var(--space-3);margin-bottom:var(--space-3);border-bottom:1px solid var(--border-secondary)}.admin-sidebar-nav{display:flex;flex-direction:column;gap:var(--space-1)}.admin-nav-item{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-fast);color:var(--text-secondary);font-size:var(--font-size-sm)}.admin-nav-item:hover{background:var(--background-secondary);color:var(--text-primary)}.admin-nav-item.active{background:rgba(var(--color-admin-rgb),.1);color:var(--color-admin);font-weight:var(--font-weight-medium)}.admin-nav-icon{width:20px;text-align:center}.admin-content{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-5)}.admin-content-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-5);padding-bottom:var(--space-4);border-bottom:1px solid var(--border-secondary)}.admin-content-title{font-size:var(--font-size-xl);font-weight:var(--font-weight-semibold)}.user-list{display:flex;flex-direction:column;gap:var(--space-3)}.user-card{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-4);background:var(--background-secondary);border-radius:var(--radius-md);transition:all var(--transition-fast)}.user-card:hover{background:var(--background-tertiary)}.user-avatar{width:48px;height:48px;border-radius:var(--radius-full);background:var(--color-admin);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:var(--font-weight-bold);font-size:var(--font-size-lg);flex-shrink:0}.user-info{flex:1}.user-name{font-weight:var(--font-weight-medium)}.user-email{font-size:var(--font-size-sm);color:var(--text-muted)}.user-role{padding:var(--space-1) var(--space-3);border-radius:var(--radius-full);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);background:var(--background-tertiary)}.user-role.admin{background:rgba(var(--color-admin-rgb),.1);color:var(--color-admin)}.user-role.manager{background:rgba(var(--color-actions-rgb),.1);color:var(--color-actions)}.user-role.user{background:rgba(var(--color-ressources-rgb),.1);color:var(--color-ressources)}.user-status{display:flex;align-items:center;gap:var(--space-2);font-size:var(--font-size-xs)}.user-status-dot{width:8px;height:8px;border-radius:var(--radius-full)}.user-status-dot.active{background:var(--color-success)}.user-status-dot.inactive{background:var(--text-muted)}.user-status-dot.pending{background:var(--color-warning)}.user-actions{display:flex;gap:var(--space-2)}.settings-section{margin-bottom:var(--space-6)}.settings-section-title{font-size:var(--font-size-lg);font-weight:var(--font-weight-medium);margin-bottom:var(--space-4);padding-bottom:var(--space-2);border-bottom:1px solid var(--border-secondary)}.settings-group{display:flex;flex-direction:column;gap:var(--space-4)}.settings-item{display:flex;justify-content:space-between;align-items:center;padding:var(--space-4);background:var(--background-secondary);border-radius:var(--radius-md)}.settings-item-content{flex:1}.settings-item-label{font-weight:var(--font-weight-medium)}.settings-item-description{font-size:var(--font-size-sm);color:var(--text-muted);margin-top:var(--space-1)}.settings-item-control{flex-shrink:0}.toggle-switch{position:relative;width:48px;height:24px;background:var(--background-tertiary);border-radius:var(--radius-full);cursor:pointer;transition:background-color var(--transition-fast)}.toggle-switch.active{background:var(--color-success)}.toggle-switch:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;background:#fff;border-radius:var(--radius-full);transition:transform var(--transition-fast);box-shadow:var(--shadow-sm)}.toggle-switch.active:after{transform:translate(24px)}.org-logo-upload{display:flex;align-items:center;gap:var(--space-5);padding:var(--space-5);background:var(--background-secondary);border-radius:var(--radius-md)}.org-logo-preview{width:80px;height:80px;border-radius:var(--radius-lg);background:var(--background-tertiary);display:flex;align-items:center;justify-content:center;font-size:var(--font-size-2xl);color:var(--text-muted);overflow:hidden}.org-logo-preview img{width:100%;height:100%;object-fit:cover}.org-logo-actions{display:flex;flex-direction:column;gap:var(--space-2)}.permissions-matrix{overflow-x:auto}.permissions-table{width:100%;border-collapse:collapse}.permissions-table th,.permissions-table td{padding:var(--space-3);text-align:center;border-bottom:1px solid var(--border-secondary)}.permissions-table th{background:var(--background-secondary);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.permissions-table th:first-child,.permissions-table td:first-child{text-align:left;font-weight:var(--font-weight-medium)}.permission-checkbox{width:18px;height:18px;accent-color:var(--color-admin)}.audit-log-list{display:flex;flex-direction:column;gap:var(--space-2)}.audit-log-item{display:flex;gap:var(--space-4);padding:var(--space-3);border-radius:var(--radius-md);font-size:var(--font-size-sm)}.audit-log-item:hover{background:var(--background-secondary)}.audit-log-time{color:var(--text-muted);min-width:140px;font-size:var(--font-size-xs)}.audit-log-user{font-weight:var(--font-weight-medium);min-width:150px}.audit-log-action{flex:1}.audit-log-action.create{color:var(--color-success)}.audit-log-action.update{color:var(--color-info)}.audit-log-action.delete{color:var(--color-danger)}.plan-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:var(--space-4)}.plan-card{background:var(--background-secondary);border:2px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-5);text-align:center;transition:all var(--transition-fast)}.plan-card:hover{border-color:var(--color-admin)}.plan-card.current{border-color:var(--color-success);background:rgba(var(--color-success-rgb),.05)}.plan-card.recommended{border-color:var(--color-actions);position:relative}.plan-card.recommended:before{content:"Recommandé";position:absolute;top:-12px;left:50%;transform:translate(-50%);padding:var(--space-1) var(--space-3);background:var(--color-actions);color:#fff;font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);border-radius:var(--radius-full)}.plan-name{font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);margin-bottom:var(--space-2)}.plan-price{font-size:var(--font-size-3xl);font-weight:var(--font-weight-bold);margin-bottom:var(--space-4)}.plan-price span{font-size:var(--font-size-sm);font-weight:var(--font-weight-normal);color:var(--text-muted)}.plan-features{list-style:none;text-align:left;margin-bottom:var(--space-5)}.plan-features li{padding:var(--space-2) 0;font-size:var(--font-size-sm);display:flex;align-items:center;gap:var(--space-2)}.plan-features li:before{content:"✓";color:var(--color-success);font-weight:var(--font-weight-bold)}.super-admin-dashboard{padding:var(--space-5);max-width:1400px;margin:0 auto}.super-admin-dashboard .dashboard-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:var(--space-6);padding-bottom:var(--space-4);border-bottom:1px solid var(--border-primary)}.super-admin-dashboard .header-content h1{font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);color:var(--text-primary);margin:0 0 var(--space-2) 0}.super-admin-dashboard .header-content p{color:var(--text-muted);margin:0}.super-admin-dashboard .header-date{font-size:var(--font-size-sm);color:var(--text-muted);text-transform:capitalize}.super-admin-dashboard .stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--space-4);margin-bottom:var(--space-6)}.super-admin-dashboard .stat-card{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-2);position:relative;overflow:hidden}.super-admin-dashboard .stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px}.super-admin-dashboard .stat-card.primary:before{background:var(--color-actions)}.super-admin-dashboard .stat-card.success:before{background:var(--color-success)}.super-admin-dashboard .stat-card.info:before{background:var(--color-ressources)}.super-admin-dashboard .stat-card.secondary:before{background:var(--color-documentation)}.super-admin-dashboard .stat-icon{font-size:var(--font-size-2xl)}.super-admin-dashboard .stat-content{display:flex;flex-direction:column}.super-admin-dashboard .stat-value{font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);color:var(--text-primary)}.super-admin-dashboard .stat-label{font-size:var(--font-size-sm);color:var(--text-muted)}.super-admin-dashboard .stat-breakdown{display:flex;gap:var(--space-3);font-size:var(--font-size-xs);color:var(--text-muted);padding-top:var(--space-2);border-top:1px solid var(--border-secondary)}.super-admin-dashboard .stat-breakdown .active{color:var(--color-success)}.super-admin-dashboard .stat-breakdown .trial{color:var(--color-warning)}.super-admin-dashboard .quick-actions{margin-bottom:var(--space-6)}.super-admin-dashboard .quick-actions h2{font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);color:var(--text-primary);margin:0 0 var(--space-4) 0}.super-admin-dashboard .actions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--space-3)}.super-admin-dashboard .action-card{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-2);padding:var(--space-4);background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);cursor:pointer;transition:all var(--transition-fast);text-align:left}.super-admin-dashboard .action-card:hover{background:var(--background-secondary);border-color:var(--color-admin);transform:translateY(-2px)}.super-admin-dashboard .action-icon{font-size:var(--font-size-xl)}.super-admin-dashboard .action-label{font-weight:var(--font-weight-semibold);color:var(--text-primary)}.super-admin-dashboard .action-desc{font-size:var(--font-size-xs);color:var(--text-muted)}.super-admin-dashboard .dashboard-content-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4)}.super-admin-dashboard .dashboard-section{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-4)}.super-admin-dashboard .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-4);padding-bottom:var(--space-3);border-bottom:1px solid var(--border-secondary)}.super-admin-dashboard .section-header h2{font-size:var(--font-size-base);font-weight:var(--font-weight-semibold);color:var(--text-primary);margin:0}.super-admin-dashboard .companies-section{grid-column:1;grid-row:1 / 3}.super-admin-dashboard .companies-list{display:flex;flex-direction:column;gap:var(--space-2)}.super-admin-dashboard .company-row{display:flex;justify-content:space-between;align-items:center;padding:var(--space-3);background:var(--background-secondary);border-radius:var(--radius-md);transition:background var(--transition-fast)}.super-admin-dashboard .company-row:hover{background:var(--background-tertiary)}.super-admin-dashboard .company-info{display:flex;align-items:center;gap:var(--space-3)}.super-admin-dashboard .company-info .company-name{font-weight:var(--font-weight-medium);color:var(--text-primary)}.super-admin-dashboard .company-status{font-size:var(--font-size-xs);padding:2px 8px;border-radius:var(--radius-full);font-weight:var(--font-weight-medium)}.super-admin-dashboard .company-stats{display:flex;align-items:center;gap:var(--space-4);font-size:var(--font-size-sm)}.super-admin-dashboard .modules-count{color:var(--text-muted)}.super-admin-dashboard .company-mrr{font-weight:var(--font-weight-semibold);color:var(--color-success)}.super-admin-dashboard .alerts-section{grid-column:2}.super-admin-dashboard .no-alerts{display:flex;flex-direction:column;align-items:center;gap:var(--space-2);padding:var(--space-6);color:var(--text-muted)}.super-admin-dashboard .no-alerts-icon{font-size:var(--font-size-2xl)}.super-admin-dashboard .alerts-list{display:flex;flex-direction:column;gap:var(--space-2)}.super-admin-dashboard .alert-row{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3);background:#ef6c001a;border-radius:var(--radius-md);border-left:3px solid var(--color-warning)}.super-admin-dashboard .alert-icon{font-size:var(--font-size-lg)}.super-admin-dashboard .alert-content{flex:1;display:flex;flex-direction:column}.super-admin-dashboard .alert-company{font-weight:var(--font-weight-medium);color:var(--text-primary)}.super-admin-dashboard .alert-message{font-size:var(--font-size-xs);color:var(--text-muted)}.super-admin-dashboard .revenue-section{grid-column:2}.super-admin-dashboard .revenue-chart{display:flex;flex-direction:column;gap:var(--space-3)}.super-admin-dashboard .revenue-bar-container{display:flex;align-items:center;gap:var(--space-3)}.super-admin-dashboard .revenue-bar-label{width:140px;display:flex;flex-direction:column;font-size:var(--font-size-sm)}.super-admin-dashboard .revenue-bar-label .company-name{font-weight:var(--font-weight-medium);color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.super-admin-dashboard .revenue-bar-label .company-amount{font-size:var(--font-size-xs);color:var(--text-muted)}.super-admin-dashboard .revenue-bar-track{flex:1;height:20px;background:var(--background-tertiary);border-radius:var(--radius-sm);overflow:hidden}.super-admin-dashboard .revenue-bar-fill{height:100%;border-radius:var(--radius-sm);transition:width var(--transition-normal)}.super-admin-dashboard .revenue-percentage{width:50px;text-align:right;font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--text-muted)}@media(max-width:1024px){.super-admin-dashboard .dashboard-content-grid{grid-template-columns:1fr}.super-admin-dashboard .companies-section{grid-column:1;grid-row:auto}}@media(max-width:768px){.super-admin-dashboard .dashboard-header{flex-direction:column;gap:var(--space-3)}.super-admin-dashboard .stats-grid,.super-admin-dashboard .actions-grid{grid-template-columns:1fr 1fr}}.super-admin-users{padding:var(--space-4);max-width:1600px;margin:0 auto;display:flex;flex-direction:column;gap:var(--space-4);min-height:calc(100vh - 120px)}.sau-header{display:flex;justify-content:space-between;align-items:center;padding:var(--space-4);background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);flex-wrap:wrap;gap:var(--space-4)}.sau-header-content h1{font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);color:var(--text-primary);margin:0}.sau-header-content p{font-size:var(--font-size-sm);color:var(--text-muted);margin:var(--space-1) 0 0 0}.sau-header-stats{display:flex;gap:var(--space-3)}.sau-stat-mini{display:flex;flex-direction:column;align-items:center;padding:var(--space-2) var(--space-4);background:var(--background-secondary);border-radius:var(--radius-md);min-width:70px}.sau-stat-mini .sau-stat-value{font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);color:var(--text-primary);line-height:1}.sau-stat-mini .sau-stat-label{font-size:var(--font-size-xs);color:var(--text-muted);margin-top:var(--space-1)}.sau-stat-mini.success .sau-stat-value{color:var(--color-success)}.sau-stat-mini.warning .sau-stat-value{color:var(--color-warning)}.sau-stat-mini.danger .sau-stat-value{color:var(--color-danger)}.sau-toolbar{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3);background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);flex-wrap:wrap}.sau-search-box{position:relative;flex:1;min-width:250px;max-width:400px}.sau-search-icon{position:absolute;left:var(--space-3);top:50%;transform:translateY(-50%);font-size:var(--font-size-sm);opacity:.5}.sau-search-input{width:100%;padding:var(--space-2) var(--space-3) var(--space-2) var(--space-8);border:1px solid var(--border-secondary);border-radius:var(--radius-md);background:var(--background-secondary);font-size:var(--font-size-sm);color:var(--text-primary);transition:all var(--transition-fast)}.sau-search-input:focus{outline:none;border-color:var(--color-admin);background:var(--background-primary)}.sau-search-input::placeholder{color:var(--text-muted)}.sau-search-clear{position:absolute;right:var(--space-2);top:50%;transform:translateY(-50%);background:none;border:none;color:var(--text-muted);cursor:pointer;padding:var(--space-1);font-size:var(--font-size-sm)}.sau-search-clear:hover{color:var(--text-primary)}.sau-btn-filter{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-4);background:var(--background-secondary);border:1px solid var(--border-secondary);border-radius:var(--radius-md);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast)}.sau-btn-filter:hover,.sau-btn-filter.active{background:var(--background-tertiary);border-color:var(--color-admin);color:var(--text-primary)}.sau-btn-filter.has-filters{border-color:var(--color-admin);color:var(--color-admin)}.sau-filter-count{background:var(--color-admin);color:#fff;font-size:var(--font-size-xs);padding:2px 6px;border-radius:var(--radius-full);min-width:18px;text-align:center}.sau-bulk-actions{display:flex;align-items:center;gap:var(--space-2);margin-left:auto;padding-left:var(--space-3);border-left:1px solid var(--border-secondary)}.sau-selected-count{font-size:var(--font-size-sm);color:var(--text-secondary);font-weight:var(--font-weight-medium)}.sau-btn-bulk{padding:var(--space-2) var(--space-3);border:none;border-radius:var(--radius-md);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);cursor:pointer;transition:all var(--transition-fast)}.sau-btn-bulk.success{background:#2e7d3226;color:var(--color-success)}.sau-btn-bulk.success:hover{background:var(--color-success);color:#fff}.sau-btn-bulk.warning{background:#ef6c0026;color:var(--color-warning)}.sau-btn-bulk.warning:hover{background:var(--color-warning);color:#fff}.sau-btn-bulk.danger{background:#c6282826;color:var(--color-danger)}.sau-btn-bulk.danger:hover{background:var(--color-danger);color:#fff}.sau-filters-panel{display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-4);background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.sau-filter-group{display:flex;flex-direction:column;gap:var(--space-2)}.sau-filter-group label{font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--text-secondary)}.sau-filter-chips{display:flex;flex-wrap:wrap;gap:var(--space-2)}.sau-chip{padding:var(--space-1) var(--space-3);background:var(--background-secondary);border:1px solid var(--border-secondary);border-radius:var(--radius-full);font-size:var(--font-size-sm);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast)}.sau-chip:hover{background:var(--background-tertiary);border-color:var(--text-muted)}.sau-chip.active{border-width:2px}.sau-chip-more{padding:var(--space-1) var(--space-3);font-size:var(--font-size-sm);color:var(--text-muted);font-style:italic}.sau-btn-clear-filters{align-self:flex-start;padding:var(--space-2) var(--space-4);background:none;border:1px solid var(--border-secondary);border-radius:var(--radius-md);font-size:var(--font-size-sm);color:var(--text-muted);cursor:pointer;transition:all var(--transition-fast)}.sau-btn-clear-filters:hover{border-color:var(--color-danger);color:var(--color-danger)}.sau-content{display:flex;gap:var(--space-4);flex:1;min-height:0}.sau-users-list{flex:1;display:flex;flex-direction:column;background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);overflow:hidden;transition:all var(--transition-fast)}.sau-users-list.with-detail{flex:2}.sau-list-header{display:grid;grid-template-columns:40px 2fr 1.2fr 1fr .8fr 60px;gap:var(--space-3);padding:var(--space-3) var(--space-4);background:var(--background-secondary);border-bottom:1px solid var(--border-secondary);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);color:var(--text-secondary);align-items:center}.sau-list-body{flex:1;overflow-y:auto}.sau-user-row{display:grid;grid-template-columns:40px 2fr 1.2fr 1fr .8fr 60px;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border-secondary);align-items:center;cursor:pointer;transition:all var(--transition-fast)}.sau-user-row:hover{background:var(--background-secondary)}.sau-user-row.selected{background:rgba(var(--color-admin-rgb),.05)}.sau-user-row.active{background:rgba(var(--color-admin-rgb),.1);border-left:3px solid var(--color-admin)}.sau-checkbox-container{display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer}.sau-checkbox-container input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.sau-checkmark{width:18px;height:18px;background:var(--background-primary);border:2px solid var(--border-secondary);border-radius:var(--radius-sm);transition:all var(--transition-fast)}.sau-checkbox-container:hover .sau-checkmark{border-color:var(--color-admin)}.sau-checkbox-container input:checked~.sau-checkmark{background:var(--color-admin);border-color:var(--color-admin)}.sau-checkmark:after{content:"✓";position:absolute;display:none;color:#fff;font-size:12px;font-weight:700;left:50%;top:50%;transform:translate(-50%,-50%)}.sau-checkbox-container input:checked~.sau-checkmark:after{display:block}.sau-col-user{display:flex;align-items:center;gap:var(--space-3);min-width:0}.sau-user-avatar{width:36px;height:36px;border-radius:var(--radius-full);color:#fff;display:flex;align-items:center;justify-content:center;font-size:var(--font-size-sm);font-weight:var(--font-weight-bold);flex-shrink:0}.sau-user-info{display:flex;flex-direction:column;min-width:0}.sau-user-name{font-weight:var(--font-weight-medium);color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sau-user-email{font-size:var(--font-size-xs);color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sau-col-company{font-size:var(--font-size-sm);color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sau-badge{display:inline-flex;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2);border-radius:var(--radius-full);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);white-space:nowrap;cursor:pointer;transition:all var(--transition-fast)}.sau-badge:hover{opacity:.8;transform:scale(1.02)}.sau-badge-role,.sau-badge-status{border:1px solid transparent}.sau-inline-select{padding:var(--space-1) var(--space-2);border:1px solid var(--color-admin);border-radius:var(--radius-md);background:var(--background-primary);font-size:var(--font-size-xs);color:var(--text-primary);cursor:pointer;max-width:120px}.sau-inline-select:focus{outline:none;box-shadow:0 0 0 2px rgba(var(--color-admin-rgb),.2)}.sau-col-actions{display:flex;justify-content:center}.sau-btn-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-fast);font-size:var(--font-size-base)}.sau-btn-icon:hover{background:var(--background-secondary)}.sau-btn-icon.danger:hover{background:#c628281a;border-color:var(--color-danger)}.sau-btn-icon.danger.confirm{background:var(--color-danger);color:#fff;animation:pulse .5s ease-in-out infinite alternate}.sau-btn-icon:disabled{opacity:.3;cursor:not-allowed}@keyframes pulse{0%{opacity:1}to{opacity:.7}}.sau-list-footer{padding:var(--space-3) var(--space-4);background:var(--background-secondary);border-top:1px solid var(--border-secondary);font-size:var(--font-size-sm);color:var(--text-muted)}.sau-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--space-10);color:var(--text-muted);text-align:center;gap:var(--space-3)}.sau-empty-icon{font-size:48px;opacity:.5}.sau-empty-text{font-size:var(--font-size-lg)}.sau-btn-secondary{padding:var(--space-2) var(--space-4);background:var(--background-secondary);border:1px solid var(--border-secondary);border-radius:var(--radius-md);font-size:var(--font-size-sm);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast)}.sau-btn-secondary:hover{border-color:var(--color-admin);color:var(--color-admin)}.sau-detail-panel{width:380px;flex-shrink:0;background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);display:flex;flex-direction:column;overflow:hidden;animation:slideIn .2s ease-out}@keyframes slideIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.sau-detail-header{display:flex;justify-content:space-between;align-items:center;padding:var(--space-4);border-bottom:1px solid var(--border-secondary)}.sau-detail-header h3{font-size:var(--font-size-base);font-weight:var(--font-weight-semibold);color:var(--text-primary);margin:0}.sau-btn-close{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--background-secondary);border:none;border-radius:var(--radius-md);cursor:pointer;color:var(--text-muted);transition:all var(--transition-fast)}.sau-btn-close:hover{background:var(--background-tertiary);color:var(--text-primary)}.sau-detail-content{flex:1;overflow-y:auto;padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-5)}.sau-detail-identity{display:flex;align-items:center;gap:var(--space-4);padding-bottom:var(--space-4);border-bottom:1px solid var(--border-secondary)}.sau-detail-avatar{width:56px;height:56px;border-radius:var(--radius-full);color:#fff;display:flex;align-items:center;justify-content:center;font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);flex-shrink:0}.sau-detail-name-section h4{font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);color:var(--text-primary);margin:0}.sau-detail-email{font-size:var(--font-size-sm);color:var(--text-muted)}.sau-detail-section h5{font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);color:var(--text-secondary);margin:0 0 var(--space-3) 0;text-transform:uppercase;letter-spacing:.5px}.sau-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3)}.sau-detail-item{display:flex;flex-direction:column;gap:var(--space-1)}.sau-detail-item label{font-size:var(--font-size-xs);color:var(--text-muted)}.sau-detail-item span{font-size:var(--font-size-sm);color:var(--text-primary)}.sau-detail-id{font-family:monospace;font-size:var(--font-size-xs)!important;color:var(--text-muted)!important;word-break:break-all}.sau-detail-actions{display:flex;flex-direction:column;gap:var(--space-2)}.sau-btn{width:100%;padding:var(--space-2) var(--space-4);border:none;border-radius:var(--radius-md);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);cursor:pointer;transition:all var(--transition-fast)}.sau-btn.success{background:var(--color-success);color:#fff}.sau-btn.success:hover{background:#1b5e20}.sau-btn.warning{background:var(--color-warning);color:#fff}.sau-btn.warning:hover{background:#e65100}.sau-btn.danger{background:var(--color-danger);color:#fff}.sau-btn.danger:hover{background:#b71c1c}.sau-btn:disabled{opacity:.5;cursor:not-allowed}.sau-role-selector{display:flex;flex-direction:column;gap:var(--space-2)}.sau-role-option{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-3);background:var(--background-secondary);border:2px solid var(--border-secondary);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-fast)}.sau-role-option:hover{border-color:var(--text-muted)}.sau-role-option.active{border-width:2px}.sau-role-icon{font-size:var(--font-size-base)}.sau-role-label{font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}@media(max-width:1200px){.sau-detail-panel{width:320px}.sau-list-header,.sau-user-row{grid-template-columns:40px 1.5fr 1fr .8fr .8fr 50px}}@media(max-width:992px){.sau-content{flex-direction:column}.sau-users-list.with-detail{flex:1}.sau-detail-panel{width:100%;max-height:400px}.sau-list-header,.sau-user-row{grid-template-columns:40px 2fr 1fr 1fr 50px}.sau-col-company{display:none}}@media(max-width:768px){.sau-header{flex-direction:column;align-items:flex-start}.sau-header-stats{width:100%;justify-content:space-between}.sau-toolbar{flex-direction:column;align-items:stretch}.sau-search-box{max-width:none}.sau-bulk-actions{margin-left:0;padding-left:0;border-left:none;padding-top:var(--space-3);border-top:1px solid var(--border-secondary);flex-wrap:wrap}.sau-list-header,.sau-user-row{grid-template-columns:40px 1fr .8fr 50px;gap:var(--space-2)}.sau-col-role{display:none}.sau-filters-panel{padding:var(--space-3)}.sau-detail-grid{grid-template-columns:1fr}}.pricing-admin-page{padding:var(--space-5);max-width:1400px;margin:0 auto;--module-color-active: var(--color-actions);--module-color-active-rgb: var(--color-actions-rgb)}.pricing-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:var(--space-6);padding-bottom:var(--space-4);border-bottom:1px solid var(--border-primary)}.pricing-header-content h1{font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);color:var(--text-primary);margin:0 0 var(--space-2) 0}.pricing-header-content p{color:var(--text-muted);margin:0}.pricing-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:var(--space-4);margin-bottom:var(--space-6)}.pricing-stat-card{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-4);text-align:center}.pricing-stat-card .stat-value{display:block;font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);color:var(--color-actions)}.pricing-stat-card .stat-label{display:block;font-size:var(--font-size-sm);color:var(--text-muted);margin-top:var(--space-1)}.pricing-categories{display:flex;flex-direction:column;gap:var(--space-4)}.pricing-category{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);overflow:hidden}.category-header{display:flex;justify-content:space-between;align-items:center;padding:var(--space-4);cursor:pointer;transition:background var(--transition-fast)}.category-header:hover{background:var(--background-secondary)}.category-title{display:flex;align-items:center;gap:var(--space-3)}.category-icon{font-size:var(--font-size-xl)}.category-title h2{font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);color:var(--text-primary);margin:0}.category-count{font-size:var(--font-size-sm);color:var(--text-muted);background:var(--background-tertiary);padding:var(--space-1) var(--space-2);border-radius:var(--radius-full)}.category-meta{display:flex;align-items:center;gap:var(--space-4)}.category-total{font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);color:var(--color-success)}.category-toggle{font-size:var(--font-size-sm);color:var(--text-muted);transition:transform var(--transition-fast)}.category-toggle.expanded{transform:rotate(180deg)}.category-items{border-top:1px solid var(--border-primary);padding:var(--space-4)}.pricing-table{width:100%;border-collapse:collapse}.pricing-table th{text-align:left;padding:var(--space-2) var(--space-3);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--border-primary)}.pricing-table td{padding:var(--space-3);border-bottom:1px solid var(--border-secondary);vertical-align:middle}.pricing-table tr:last-child td{border-bottom:none}.pricing-table tr.inactive{opacity:.5}.pricing-table tr.inactive .item-name{text-decoration:line-through}.pricing-row{transition:background var(--transition-fast)}.pricing-row:hover{background:var(--background-secondary)}.pricing-table td.clickable{cursor:pointer;transition:all var(--transition-fast)}.pricing-table td.clickable:hover{background:rgba(var(--color-actions-rgb, 74, 144, 226),.1)}.item-price.clickable{display:flex;align-items:center;gap:var(--space-2)}.item-price .edit-hint{opacity:0;font-size:var(--font-size-sm);transition:opacity var(--transition-fast)}.pricing-row:hover .item-price .edit-hint{opacity:.7}.item-name{font-weight:var(--font-weight-medium);color:var(--text-primary)}.item-name .item-unit{font-weight:var(--font-weight-normal);color:var(--text-muted);font-size:var(--font-size-sm);margin-left:var(--space-1)}.item-code{font-family:monospace;font-size:var(--font-size-xs);color:var(--text-muted);background:var(--background-tertiary);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm)}.item-description{font-size:var(--font-size-sm);color:var(--text-secondary);max-width:300px}.item-price{font-weight:var(--font-weight-semibold);color:var(--text-primary);white-space:nowrap}.price-free{color:var(--color-success);font-weight:var(--font-weight-medium)}.item-actions{white-space:nowrap}.btn-edit{padding:var(--space-1) var(--space-3);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--color-actions);background:transparent;border:1px solid var(--color-actions);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-fast)}.btn-edit:hover{background:var(--color-actions);color:#fff}.billing-badge{display:inline-block;font-size:var(--font-size-xs);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);background:var(--background-tertiary);color:var(--text-secondary)}.toggle-switch{position:relative;display:inline-block;width:44px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--background-tertiary);border:1px solid var(--border-primary);border-radius:var(--radius-full);transition:all var(--transition-fast)}.toggle-slider:before{position:absolute;content:"";height:18px;width:18px;left:2px;bottom:2px;background-color:#fff;border-radius:50%;transition:all var(--transition-fast);box-shadow:var(--shadow-sm)}.toggle-switch input:checked+.toggle-slider{background-color:var(--color-success);border-color:var(--color-success)}.toggle-switch input:checked+.toggle-slider:before{transform:translate(20px)}.btn-icon{background:transparent;border:none;cursor:pointer;padding:var(--space-1);font-size:var(--font-size-base);opacity:.7;transition:opacity var(--transition-fast)}.btn-icon:hover{opacity:1}.pricing-edit-modal{max-width:600px;width:90%}.pricing-edit-modal .form-group{margin-bottom:var(--space-4)}.pricing-edit-modal .form-group label{display:block;font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--text-secondary);margin-bottom:var(--space-1)}.pricing-edit-modal .form-group input,.pricing-edit-modal .form-group select,.pricing-edit-modal .form-group textarea{width:100%;padding:var(--space-2) var(--space-3);border:1px solid var(--border-primary);border-radius:var(--radius-md);background:var(--background-input);color:var(--text-primary);font-size:var(--font-size-base)}.pricing-edit-modal .form-group textarea{min-height:80px;resize:vertical}.pricing-edit-modal .form-group small{display:block;font-size:var(--font-size-xs);color:var(--text-muted);margin-top:var(--space-1)}.pricing-edit-modal .form-row{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4)}.loading-state,.error-state{text-align:center;padding:var(--space-8);color:var(--text-muted)}.error-state{color:var(--color-incidents)}.pricing-tabs{display:flex;gap:var(--space-2);margin-bottom:var(--space-6);border-bottom:2px solid var(--border-primary);padding-bottom:0}.pricing-tab{padding:var(--space-3) var(--space-4);font-size:var(--font-size-base);font-weight:var(--font-weight-medium);color:var(--text-secondary);background:transparent;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;transition:all var(--transition-fast)}.pricing-tab:hover{color:var(--text-primary);background:var(--background-secondary)}.pricing-tab.active{color:var(--color-actions);border-bottom-color:var(--color-actions)}.bundles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:var(--space-4)}.bundle-card{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-5);display:flex;flex-direction:column;transition:all var(--transition-fast)}.bundle-card:hover{box-shadow:var(--shadow-md)}.bundle-card.inactive{opacity:.6}.bundle-card.featured{border-color:var(--color-warning);box-shadow:0 0 0 1px var(--color-warning)}.bundle-card.trial{border-color:var(--color-success);box-shadow:0 0 0 2px rgba(var(--color-success-rgb, 34, 197, 94),.3);background:linear-gradient(135deg,var(--background-primary) 0%,rgba(var(--color-success-rgb, 34, 197, 94),.05) 100%)}.bundle-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:var(--space-3)}.bundle-badges{display:flex;gap:var(--space-2)}.badge{font-size:var(--font-size-xs);padding:var(--space-1) var(--space-2);border-radius:var(--radius-full)}.badge-featured{background:var(--color-warning);color:#000}.badge-inactive{background:var(--background-tertiary);color:var(--text-muted)}.badge-trial{background:var(--color-success);color:#fff;font-weight:var(--font-weight-semibold)}.bundle-name{font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);color:var(--text-primary);margin:0 0 var(--space-2) 0}.bundle-description{font-size:var(--font-size-sm);color:var(--text-secondary);margin:0 0 var(--space-4) 0;line-height:1.5}.bundle-price{display:flex;align-items:baseline;gap:var(--space-2);margin-bottom:var(--space-4)}.bundle-price .price-amount{font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);color:var(--color-success)}.bundle-price .price-period{font-size:var(--font-size-sm);color:var(--text-muted)}.bundle-price .savings-badge{font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);padding:var(--space-1) var(--space-2);background:rgba(var(--color-success-rgb, 34, 197, 94),.15);color:var(--color-success);border-radius:var(--radius-full)}.bundle-price .trial-price{color:var(--color-success);text-transform:uppercase}.bundle-price .price-after{display:block;width:100%;font-size:var(--font-size-xs);color:var(--text-muted);margin-top:var(--space-1)}.bundle-card.trial .bundle-price{flex-wrap:wrap}.trial-settings{background:rgba(var(--color-success-rgb, 34, 197, 94),.1);padding:var(--space-3);border-radius:var(--radius-md);border:1px solid rgba(var(--color-success-rgb, 34, 197, 94),.3)}.trial-settings small{display:block;font-size:var(--font-size-xs);color:var(--text-muted);margin-top:var(--space-1)}.bundle-items{flex:1;margin-bottom:var(--space-4)}.bundle-items h4{font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);color:var(--text-secondary);margin:0 0 var(--space-2) 0}.bundle-items ul{list-style:none;padding:0;margin:0}.bundle-items li{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-1) 0;font-size:var(--font-size-sm);color:var(--text-primary)}.bundle-items li .item-qty{font-weight:var(--font-weight-medium);color:var(--color-actions);min-width:30px}.bundle-items li.more-items{color:var(--text-muted);font-style:italic}.bundle-actions{display:flex;gap:var(--space-2);flex-wrap:wrap;padding-top:var(--space-3);border-top:1px solid var(--border-primary)}.bundle-actions .btn{flex:1;min-width:100px}.bundle-modal{max-width:700px}.bundle-items-list{display:flex;flex-direction:column;gap:var(--space-2);max-height:250px;overflow-y:auto;padding:var(--space-2);background:var(--background-secondary);border-radius:var(--radius-md)}.bundle-item-row{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2);background:var(--background-primary);border-radius:var(--radius-sm)}.bundle-item-row .item-code{flex:1}.bundle-item-row .quantity-input{width:70px;padding:var(--space-1) var(--space-2);border:1px solid var(--border-primary);border-radius:var(--radius-sm);background:var(--background-input);color:var(--text-primary);text-align:center}.toggle-switch.small{width:36px;height:20px}.toggle-switch.small .toggle-slider:before{height:14px;width:14px;left:2px;bottom:2px}.toggle-switch.small input:checked+.toggle-slider:before{transform:translate(16px)}.btn.btn-sm{padding:var(--space-1) var(--space-2);font-size:var(--font-size-xs)}.btn.btn-outline{background:transparent;border:1px solid var(--border-primary);color:var(--text-secondary)}.btn.btn-outline:hover{background:var(--background-secondary);color:var(--text-primary)}.btn.btn-danger{background:var(--color-incidents);border-color:var(--color-incidents);color:#fff}.btn.btn-danger:hover{opacity:.9}@media(max-width:768px){.pricing-header{flex-direction:column;gap:var(--space-4)}.pricing-edit-modal .form-row{grid-template-columns:1fr}.pricing-table{font-size:var(--font-size-sm)}.item-description{display:none}.bundles-grid{grid-template-columns:1fr}.pricing-tabs{overflow-x:auto}}.subscriptions-page{padding:var(--space-5);max-width:1600px;margin:0 auto;height:calc(100vh - 60px);display:flex;flex-direction:column}.subscriptions-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:var(--space-5);padding-bottom:var(--space-4);border-bottom:1px solid var(--border-primary);flex-shrink:0}.subscriptions-header-content h1{font-size:var(--font-size-2xl);font-weight:var(--font-weight-bold);color:var(--text-primary);margin:0 0 var(--space-2) 0}.subscriptions-header-content p{color:var(--text-muted);margin:0}.subscriptions-layout{display:grid;grid-template-columns:300px 1fr;gap:var(--space-5);flex:1;min-height:0;overflow:hidden}.subscriptions-sidebar{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-4);display:flex;flex-direction:column;overflow:hidden}.subscriptions-sidebar h3{font-size:var(--font-size-base);font-weight:var(--font-weight-semibold);color:var(--text-primary);margin:0 0 var(--space-3) 0;padding-bottom:var(--space-3);border-bottom:1px solid var(--border-primary)}.company-list{display:flex;flex-direction:column;gap:var(--space-2);overflow-y:auto;flex:1}.company-card{padding:var(--space-3);border-radius:var(--radius-md);background:var(--background-secondary);border:1px solid transparent;cursor:pointer;transition:all var(--transition-fast)}.company-card:hover{background:var(--background-tertiary);border-color:var(--border-primary)}.company-card.selected{background:var(--background-tertiary);border-color:var(--color-actions);box-shadow:0 0 0 1px var(--color-actions)}.company-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-2)}.company-name{font-weight:var(--font-weight-semibold);color:var(--text-primary);font-size:var(--font-size-sm)}.company-status{font-size:var(--font-size-xs);padding:2px 8px;border-radius:var(--radius-full);color:#fff;font-weight:var(--font-weight-medium)}.company-card-details{display:flex;justify-content:space-between;font-size:var(--font-size-xs);color:var(--text-muted)}.company-price{font-weight:var(--font-weight-semibold);color:var(--color-success)}.subscription-detail{background:var(--background-primary);border:1px solid var(--border-primary);border-radius:var(--radius-lg);padding:var(--space-4);overflow-y:auto;display:flex;flex-direction:column}.subscription-detail-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:var(--space-4);border-bottom:1px solid var(--border-primary);margin-bottom:var(--space-4)}.detail-header-info h2{font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);color:var(--text-primary);margin:0 0 var(--space-1) 0}.company-id{font-size:var(--font-size-sm);color:var(--text-muted);font-family:monospace}.status-select{padding:var(--space-2) var(--space-3);border:1px solid var(--border-primary);border-radius:var(--radius-md);background:var(--background-input);color:var(--text-primary);font-size:var(--font-size-sm)}.billing-summary{background:var(--background-secondary);border-radius:var(--radius-md);padding:var(--space-4);margin-bottom:var(--space-4)}.billing-summary-row{display:flex;justify-content:space-between;align-items:center;padding:var(--space-2) 0;font-size:var(--font-size-sm);color:var(--text-secondary)}.billing-summary-row.total{border-top:1px solid var(--border-primary);margin-top:var(--space-2);padding-top:var(--space-3)}.billing-summary-row.yearly{color:var(--text-muted);font-size:var(--font-size-xs)}.discount-input-group{display:flex;align-items:center;gap:var(--space-1)}.discount-input-group input{width:60px;padding:var(--space-1) var(--space-2);border:1px solid var(--border-primary);border-radius:var(--radius-sm);background:var(--background-input);color:var(--text-primary);text-align:right}.total-price{font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);color:var(--color-success)}.yearly-price{font-weight:var(--font-weight-medium)}.subscription-categories{display:flex;flex-direction:column;gap:var(--space-3);flex:1}.subscription-category{background:var(--background-secondary);border:1px solid var(--border-primary);border-radius:var(--radius-md);overflow:hidden}.subscription-category .category-header{display:flex;justify-content:space-between;align-items:center;padding:var(--space-3) var(--space-4);cursor:pointer;transition:background var(--transition-fast)}.subscription-category .category-header:hover{background:var(--background-tertiary)}.subscription-category .category-title{display:flex;align-items:center;gap:var(--space-2)}.subscription-category .category-icon{font-size:var(--font-size-lg)}.subscription-category .category-title h3{font-size:var(--font-size-base);font-weight:var(--font-weight-semibold);color:var(--text-primary);margin:0}.subscription-category .category-count{font-size:var(--font-size-xs);color:var(--text-muted);background:var(--background-tertiary);padding:2px 8px;border-radius:var(--radius-full)}.subscription-category .category-meta{display:flex;align-items:center;gap:var(--space-3)}.subscription-category .category-total{font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);color:var(--color-success)}.subscription-category .category-toggle{font-size:var(--font-size-xs);color:var(--text-muted);transition:transform var(--transition-fast)}.subscription-category .category-toggle.expanded{transform:rotate(180deg)}.subscription-category .category-items{border-top:1px solid var(--border-primary);padding:var(--space-3)}.items-table{width:100%;border-collapse:collapse;font-size:var(--font-size-sm)}.items-table th{text-align:left;padding:var(--space-2) var(--space-2);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--border-primary)}.items-table td{padding:var(--space-2);border-bottom:1px solid var(--border-secondary);vertical-align:middle}.items-table tr:last-child td{border-bottom:none}.items-table tr.disabled-row{opacity:.5}.items-table tr.disabled-row .item-name{text-decoration:line-through}.item-info{max-width:250px}.item-info .item-name{font-weight:var(--font-weight-medium);color:var(--text-primary);margin-bottom:2px}.item-info .item-description{font-size:var(--font-size-xs);color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-unit-price{color:var(--text-secondary);white-space:nowrap}.item-unit-price .unit{color:var(--text-muted);font-size:var(--font-size-xs)}.quantity-input,.discount-input{width:70px;padding:var(--space-1) var(--space-2);border:1px solid var(--border-primary);border-radius:var(--radius-sm);background:var(--background-input);color:var(--text-primary);text-align:center;font-size:var(--font-size-sm)}.quantity-input:disabled,.discount-input:disabled{opacity:.5;cursor:not-allowed}.item-subtotal{text-align:right;white-space:nowrap}.item-subtotal .original-price{display:block;font-size:var(--font-size-xs);color:var(--text-muted);text-decoration:line-through}.item-subtotal .final-price{font-weight:var(--font-weight-semibold);color:var(--color-success)}.item-subtotal .disabled-price{color:var(--text-muted)}.subscription-actions{margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--border-primary);display:flex;justify-content:flex-end}.btn-save{padding:var(--space-2) var(--space-6)}.subscriptions-page .toggle-switch{position:relative;display:inline-block;width:40px;height:22px}.subscriptions-page .toggle-switch input{opacity:0;width:0;height:0}.subscriptions-page .toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--background-tertiary);border:1px solid var(--border-primary);border-radius:var(--radius-full);transition:all var(--transition-fast)}.subscriptions-page .toggle-slider:before{position:absolute;content:"";height:16px;width:16px;left:2px;bottom:2px;background-color:#fff;border-radius:50%;transition:all var(--transition-fast);box-shadow:var(--shadow-sm)}.subscriptions-page .toggle-switch input:checked+.toggle-slider{background-color:var(--color-success);border-color:var(--color-success)}.subscriptions-page .toggle-switch input:checked+.toggle-slider:before{transform:translate(18px)}.subscriptions-page .modal-content{max-width:500px;width:90%}@media(max-width:1024px){.subscriptions-layout{grid-template-columns:250px 1fr}}@media(max-width:768px){.subscriptions-layout{grid-template-columns:1fr}.subscriptions-sidebar{max-height:200px}.subscriptions-header{flex-direction:column;gap:var(--space-3)}.items-table{font-size:var(--font-size-xs)}.item-info .item-description{display:none}.quantity-input,.discount-input{width:50px}}.u-hidden{display:none!important}.u-visible{display:block!important}.u-inline{display:inline!important}.u-inline-block{display:inline-block!important}.u-flex{display:flex!important}.u-inline-flex{display:inline-flex!important}.u-grid{display:grid!important}.u-flex-row{flex-direction:row!important}.u-flex-column{flex-direction:column!important}.u-flex-wrap{flex-wrap:wrap!important}.u-flex-nowrap{flex-wrap:nowrap!important}.u-justify-start{justify-content:flex-start!important}.u-justify-center{justify-content:center!important}.u-justify-end{justify-content:flex-end!important}.u-justify-between{justify-content:space-between!important}.u-justify-around{justify-content:space-around!important}.u-align-start{align-items:flex-start!important}.u-align-center{align-items:center!important}.u-align-end{align-items:flex-end!important}.u-align-stretch{align-items:stretch!important}.u-flex-1{flex:1!important}.u-flex-grow{flex-grow:1!important}.u-flex-shrink-0{flex-shrink:0!important}.u-m-0{margin:0!important}.u-m-1{margin:var(--space-1)!important}.u-m-2{margin:var(--space-2)!important}.u-m-3{margin:var(--space-3)!important}.u-m-4{margin:var(--space-4)!important}.u-m-5{margin:var(--space-5)!important}.u-mt-0{margin-top:0!important}.u-mt-1{margin-top:var(--space-1)!important}.u-mt-2{margin-top:var(--space-2)!important}.u-mt-3{margin-top:var(--space-3)!important}.u-mt-4{margin-top:var(--space-4)!important}.u-mt-5{margin-top:var(--space-5)!important}.u-mb-0{margin-bottom:0!important}.u-mb-1{margin-bottom:var(--space-1)!important}.u-mb-2{margin-bottom:var(--space-2)!important}.u-mb-3{margin-bottom:var(--space-3)!important}.u-mb-4{margin-bottom:var(--space-4)!important}.u-mb-5{margin-bottom:var(--space-5)!important}.u-ml-0{margin-left:0!important}.u-ml-1{margin-left:var(--space-1)!important}.u-ml-2{margin-left:var(--space-2)!important}.u-ml-3{margin-left:var(--space-3)!important}.u-ml-4{margin-left:var(--space-4)!important}.u-ml-5{margin-left:var(--space-5)!important}.u-ml-auto{margin-left:auto!important}.u-mr-0{margin-right:0!important}.u-mr-1{margin-right:var(--space-1)!important}.u-mr-2{margin-right:var(--space-2)!important}.u-mr-3{margin-right:var(--space-3)!important}.u-mr-4{margin-right:var(--space-4)!important}.u-mr-5{margin-right:var(--space-5)!important}.u-mr-auto{margin-right:auto!important}.u-mx-auto{margin-left:auto!important;margin-right:auto!important}.u-p-0{padding:0!important}.u-p-1{padding:var(--space-1)!important}.u-p-2{padding:var(--space-2)!important}.u-p-3{padding:var(--space-3)!important}.u-p-4{padding:var(--space-4)!important}.u-p-5{padding:var(--space-5)!important}.u-pt-0{padding-top:0!important}.u-pt-1{padding-top:var(--space-1)!important}.u-pt-2{padding-top:var(--space-2)!important}.u-pt-3{padding-top:var(--space-3)!important}.u-pt-4{padding-top:var(--space-4)!important}.u-pt-5{padding-top:var(--space-5)!important}.u-pb-0{padding-bottom:0!important}.u-pb-1{padding-bottom:var(--space-1)!important}.u-pb-2{padding-bottom:var(--space-2)!important}.u-pb-3{padding-bottom:var(--space-3)!important}.u-pb-4{padding-bottom:var(--space-4)!important}.u-pb-5{padding-bottom:var(--space-5)!important}.u-pl-0{padding-left:0!important}.u-pl-1{padding-left:var(--space-1)!important}.u-pl-2{padding-left:var(--space-2)!important}.u-pl-3{padding-left:var(--space-3)!important}.u-pl-4{padding-left:var(--space-4)!important}.u-pl-5{padding-left:var(--space-5)!important}.u-pr-0{padding-right:0!important}.u-pr-1{padding-right:var(--space-1)!important}.u-pr-2{padding-right:var(--space-2)!important}.u-pr-3{padding-right:var(--space-3)!important}.u-pr-4{padding-right:var(--space-4)!important}.u-pr-5{padding-right:var(--space-5)!important}.u-gap-1{gap:var(--space-1)!important}.u-gap-2{gap:var(--space-2)!important}.u-gap-3{gap:var(--space-3)!important}.u-gap-4{gap:var(--space-4)!important}.u-gap-5{gap:var(--space-5)!important}.u-text-left{text-align:left!important}.u-text-center{text-align:center!important}.u-text-right{text-align:right!important}.u-text-xs{font-size:var(--font-size-xs)!important}.u-text-sm{font-size:var(--font-size-sm)!important}.u-text-base{font-size:var(--font-size-base)!important}.u-text-lg{font-size:var(--font-size-lg)!important}.u-text-xl{font-size:var(--font-size-xl)!important}.u-text-2xl{font-size:var(--font-size-2xl)!important}.u-font-normal{font-weight:var(--font-weight-normal)!important}.u-font-medium{font-weight:var(--font-weight-medium)!important}.u-font-semibold{font-weight:var(--font-weight-semibold)!important}.u-font-bold{font-weight:var(--font-weight-bold)!important}.u-text-primary{color:var(--text-primary)!important}.u-text-secondary{color:var(--text-secondary)!important}.u-text-muted{color:var(--text-muted)!important}.u-text-success{color:var(--color-success)!important}.u-text-warning{color:var(--color-warning)!important}.u-text-danger{color:var(--color-danger)!important}.u-text-info{color:var(--color-info)!important}.u-text-truncate{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.u-text-nowrap{white-space:nowrap!important}.u-text-wrap{white-space:normal!important}.u-text-break{word-break:break-word!important}.u-w-full{width:100%!important}.u-w-auto{width:auto!important}.u-h-full{height:100%!important}.u-h-auto{height:auto!important}.u-min-h-screen{min-height:100vh!important}.u-relative{position:relative!important}.u-absolute{position:absolute!important}.u-fixed{position:fixed!important}.u-sticky{position:sticky!important}.u-overflow-hidden{overflow:hidden!important}.u-overflow-auto{overflow:auto!important}.u-overflow-scroll{overflow:scroll!important}.u-overflow-x-auto{overflow-x:auto!important}.u-overflow-y-auto{overflow-y:auto!important}.u-cursor-pointer{cursor:pointer!important}.u-cursor-default{cursor:default!important}.u-cursor-not-allowed{cursor:not-allowed!important}.u-border{border:1px solid var(--border-primary)!important}.u-border-0{border:none!important}.u-border-top{border-top:1px solid var(--border-primary)!important}.u-border-bottom{border-bottom:1px solid var(--border-primary)!important}.u-rounded{border-radius:var(--radius-md)!important}.u-rounded-lg{border-radius:var(--radius-lg)!important}.u-rounded-full{border-radius:var(--radius-full)!important}.u-rounded-0{border-radius:0!important}.u-bg-primary{background-color:var(--background-primary)!important}.u-bg-secondary{background-color:var(--background-secondary)!important}.u-bg-tertiary{background-color:var(--background-tertiary)!important}.u-bg-transparent{background-color:transparent!important}.u-shadow-none{box-shadow:none!important}.u-shadow-sm{box-shadow:var(--shadow-sm)!important}.u-shadow{box-shadow:var(--shadow-md)!important}.u-shadow-lg{box-shadow:var(--shadow-lg)!important}.u-opacity-0{opacity:0!important}.u-opacity-25{opacity:.25!important}.u-opacity-50{opacity:.5!important}.u-opacity-75{opacity:.75!important}.u-opacity-100{opacity:1!important}.u-transition{transition:all var(--transition-normal)!important}.u-transition-fast{transition:all var(--transition-fast)!important}.u-transition-none{transition:none!important}.u-z-0{z-index:0!important}.u-z-10{z-index:10!important}.u-z-20{z-index:20!important}.u-z-50{z-index:50!important}.u-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.u-focus-visible:focus-visible{outline:2px solid var(--color-actions);outline-offset:2px}@media(max-width:575px){.u-hide-xs{display:none!important}}@media(min-width:576px)and (max-width:767px){.u-hide-sm{display:none!important}}@media(min-width:768px)and (max-width:991px){.u-hide-md{display:none!important}}@media(min-width:992px)and (max-width:1199px){.u-hide-lg{display:none!important}}@media(min-width:1200px){.u-hide-xl{display:none!important}}@media(min-width:576px){.u-show-xs-only{display:none!important}}@media(max-width:575px),(min-width:768px){.u-show-sm-only{display:none!important}}@media(max-width:767px),(min-width:992px){.u-show-md-only{display:none!important}}@media(max-width:991px),(min-width:1200px){.u-show-lg-only{display:none!important}}@media(max-width:1199px){.u-show-xl-only{display:none!important}}@media(max-width:575px){.u-hide-below-sm{display:none!important}}@media(max-width:767px){.u-hide-below-md{display:none!important}}@media(max-width:991px){.u-hide-below-lg{display:none!important}}@media(max-width:1199px){.u-hide-below-xl{display:none!important}}@media(min-width:576px){.u-hide-above-xs{display:none!important}}@media(min-width:768px){.u-hide-above-sm{display:none!important}}@media(min-width:992px){.u-hide-above-md{display:none!important}}@media(min-width:1200px){.u-hide-above-lg{display:none!important}}@media(max-width:767px){.u-stack-mobile{flex-direction:column!important}.u-stack-mobile>*{width:100%!important}}@media(max-width:575px){.u-full-mobile{width:100%!important}}@media(max-width:767px){.u-text-center-mobile{text-align:center!important}.u-text-left-mobile{text-align:left!important}}@media(max-width:767px){.u-p-mobile-3{padding:var(--space-3)!important}.u-px-mobile-3{padding-left:var(--space-3)!important;padding-right:var(--space-3)!important}.u-py-mobile-3{padding-top:var(--space-3)!important;padding-bottom:var(--space-3)!important}.u-m-mobile-0{margin:0!important}.u-gap-mobile-2{gap:var(--space-2)!important}.u-gap-mobile-3{gap:var(--space-3)!important}}@media(max-width:575px){.u-cols-1-xs{grid-template-columns:1fr!important}}@media(min-width:576px)and (max-width:767px){.u-cols-1-sm{grid-template-columns:1fr!important}.u-cols-2-sm{grid-template-columns:repeat(2,1fr)!important}}@media(min-width:768px)and (max-width:991px){.u-cols-2-md{grid-template-columns:repeat(2,1fr)!important}.u-cols-3-md{grid-template-columns:repeat(3,1fr)!important}}@media(min-width:992px){.u-cols-3-lg{grid-template-columns:repeat(3,1fr)!important}.u-cols-4-lg{grid-template-columns:repeat(4,1fr)!important}}.container{width:100%;margin-left:auto;margin-right:auto;padding-left:var(--space-4);padding-right:var(--space-4)}@media(min-width:576px){.container{max-width:540px}}@media(min-width:768px){.container{max-width:720px}}@media(min-width:992px){.container{max-width:960px}}@media(min-width:1200px){.container{max-width:1140px}}@media(min-width:1400px){.container{max-width:1320px}}.container-fluid{width:100%;padding-left:var(--space-4);padding-right:var(--space-4)}@media(max-width:991px){.navbar-collapse{position:fixed;top:0;left:-100%;width:280px;height:100vh;background:var(--background-primary);transition:left var(--transition-normal);z-index:var(--z-modal);overflow-y:auto;padding:var(--space-5)}.navbar-collapse.open{left:0}.navbar-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;z-index:calc(var(--z-modal) - 1);opacity:0;visibility:hidden;transition:opacity var(--transition-normal),visibility var(--transition-normal)}.navbar-backdrop.visible{opacity:1;visibility:visible}}@media(pointer:coarse){button,.btn,input[type=checkbox],input[type=radio]{min-height:44px;min-width:44px}.dropdown-menu a,.nav-link{padding-top:var(--space-3);padding-bottom:var(--space-3)}}@media print{.u-no-print{display:none!important}body{background:#fff!important;color:#000!important}.navbar,.sidebar,.filter-bar,.toast-container,.modal{display:none!important}.main-content{margin:0!important;padding:0!important}a[href]:after{content:" (" attr(href) ")"}.page-break-before{page-break-before:always}.page-break-after{page-break-after:always}.avoid-break{page-break-inside:avoid}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(prefers-contrast:high){:root{--border-primary: #000;--border-secondary: #333}.btn,.badge,input,select,textarea{border-width:2px}}
