:root{--color-primary-900: #4A080D;--color-primary-800: #6B0C13;--color-primary-700: #7E0E16;--color-primary-600: #8C0F18;--color-primary-500: #9F1019;--color-primary-400: #C03040;--color-primary-300: #D86070;--color-primary-200: #EAAAB0;--color-primary-100: #F5D5D8;--color-primary-50: #FBF0F1;--color-success-600: #059669;--color-success-500: #10B981;--color-success-400: #34D399;--color-success-100: #D1FAE5;--color-success-50: #ECFDF5;--color-warning-600: #D97706;--color-warning-500: #F59E0B;--color-warning-100: #FEF3C7;--color-warning-50: #FFFBEB;--color-danger-600: #DC2626;--color-danger-500: #EF4444;--color-danger-100: #FEE2E2;--color-danger-50: #FEF2F2;--color-info-600: #0284C7;--color-info-500: #0EA5E9;--color-info-100: #E0F2FE;--color-info-50: #F0F9FF;--color-gray-900: #1A1A1D;--color-gray-800: #2D2D30;--color-gray-700: #3E3E42;--color-gray-600: #575762;--color-gray-500: #71717A;--color-gray-400: #A1A1AA;--color-gray-300: #D4D4D8;--color-gray-200: #E4E4E7;--color-gray-100: #F4F4F5;--color-gray-50: #FAFAFA;--color-white: #FFFFFF;--font-family-base: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;--font-family-mono: JetBrains Mono, Fira Code, Consolas, monospace;--font-size-xs: .75rem;--font-size-sm: .8125rem;--font-size-base: .875rem;--font-size-md: 1rem;--font-size-lg: 1.125rem;--font-size-xl: 1.25rem;--font-size-2xl: 1.5rem;--font-size-3xl: 1.875rem;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.25rem;--space-6: 1.5rem;--space-8: 2rem;--space-10: 2.5rem;--space-12: 3rem;--space-16: 4rem;--radius-sm: .375rem;--radius-md: .5rem;--radius-lg: .75rem;--radius-xl: 1rem;--radius-2xl: 1.25rem;--radius-3xl: 1.5rem;--radius-full: 9999px;--shadow-xs: 0 1px 2px rgba(26, 26, 29, .04);--shadow-sm: 0 1px 3px rgba(26, 26, 29, .06), 0 1px 2px rgba(26, 26, 29, .04);--shadow-md: 0 4px 6px -1px rgba(26, 26, 29, .07), 0 2px 4px -2px rgba(26, 26, 29, .05);--shadow-lg: 0 10px 15px -3px rgba(26, 26, 29, .08), 0 4px 6px -4px rgba(26, 26, 29, .04);--shadow-xl: 0 20px 25px -5px rgba(26, 26, 29, .08), 0 8px 10px -6px rgba(26, 26, 29, .04);--shadow-2xl: 0 25px 50px -12px rgba(26, 26, 29, .15);--shadow-primary: 0 4px 14px rgba(159, 16, 25, .25);--shadow-success: 0 4px 14px rgba(16, 185, 129, .25);--gradient-primary: linear-gradient(135deg, #9F1019 0%, #7E0E16 100%);--gradient-hero: linear-gradient(135deg, #4A080D 0%, #6B0C13 40%, #8C0F18 100%);--transition-fast: .15s cubic-bezier(.4, 0, .2, 1);--transition-normal: .25s cubic-bezier(.4, 0, .2, 1);--transition-slow: .4s cubic-bezier(.4, 0, .2, 1);--header-height: 60px;--content-max-width: 1440px}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.875rem;line-height:1.5;color:#2d2d30;background:#fafafa;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.material-symbols-outlined{font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 24;vertical-align:middle}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1.25rem;border:1px solid transparent;border-radius:.75rem;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .25s cubic-bezier(.4,0,.2,1);text-decoration:none;line-height:1.25}.btn:disabled{opacity:.5;cursor:not-allowed}.btn .material-symbols-outlined{font-size:18px}.btn-primary{background:linear-gradient(135deg,#9f1019,#7e0e16);color:#fff;border-color:#8c0f18}.btn-primary:hover:not(:disabled){box-shadow:0 4px 14px #9f101940;transform:translateY(-1px)}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-secondary{background:#fff;color:#3e3e42;border-color:#e4e4e7}.btn-secondary:hover:not(:disabled){background:#fafafa;border-color:#d4d4d8}.btn-lg{padding:.75rem 1.5rem;font-size:.875rem;border-radius:1rem}.form-group{margin-bottom:1rem;flex:1}.form-label{display:block;font-size:.8125rem;font-weight:500;color:#3e3e42;margin-bottom:.25rem}.form-label .required{color:#ef4444}.form-control{width:100%;padding:.5rem .75rem;border:1px solid #E4E4E7;border-radius:.5rem;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.8125rem;color:#2d2d30;background:#fff;transition:border-color .15s cubic-bezier(.4,0,.2,1),box-shadow .15s cubic-bezier(.4,0,.2,1)}.form-control::placeholder{color:#a1a1aa}.form-control:focus{outline:none;border-color:#c03040;box-shadow:0 0 0 3px #9f10191a}.form-control.ng-invalid.ng-touched{border-color:#ef4444}.form-control.ng-invalid.ng-touched:focus{box-shadow:0 0 0 3px #ef44441a}select.form-control{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;padding-right:2rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-check{display:flex;align-items:flex-start;gap:.5rem;font-size:.8125rem;color:#575762;cursor:pointer}.form-check input[type=checkbox]{margin-top:2px;accent-color:#9F1019}.form-check a{color:#9f1019;text-decoration:none}.form-check a:hover{text-decoration:underline}.form-error{font-size:.75rem;color:#ef4444;margin-top:.25rem}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background:linear-gradient(135deg,#4a080d,#6b0c13 40%,#8c0f18)}.login-card{background:#fff;border-radius:1.25rem;padding:2rem;width:100%;max-width:420px;box-shadow:0 25px 50px -12px #1a1a1d26}.login-card.wide{max-width:600px}.login-logo{text-align:center;margin-bottom:1.5rem}.login-logo .logo-icon{width:48px;height:48px;border-radius:.75rem;background:linear-gradient(135deg,#9f1019,#7e0e16);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:1.125rem;margin-bottom:.75rem;box-shadow:0 4px 14px #9f101940}.login-logo img.logo-light{height:64px;width:auto;max-width:280px;object-fit:contain;margin-bottom:.75rem;display:inline-block}.login-logo h1{font-size:1.25rem;font-weight:700;color:#1a1a1d;margin-bottom:.25rem}.login-logo p{font-size:.8125rem;color:#71717a}.login-form{margin-bottom:1rem}.login-footer{text-align:center;font-size:.8125rem;color:#71717a;margin-top:1rem}.login-footer a{color:#9f1019;text-decoration:none;font-weight:600}.login-footer a:hover{text-decoration:underline}.reg-stepper{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-bottom:1.5rem}.reg-step{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:#a1a1aa}.reg-step.active{color:#8c0f18;font-weight:600}.reg-step.active .reg-step-dot{border-color:#9f1019;background:linear-gradient(135deg,#9f1019,#7e0e16);color:#fff}.reg-step.completed{color:#059669}.reg-step.completed .reg-step-dot{border-color:#10b981;background:#10b981;color:#fff}.reg-step-dot{width:24px;height:24px;border-radius:9999px;border:2px solid #D4D4D8;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}.reg-step-dot .material-symbols-outlined{font-size:14px}.reg-step-connector{width:40px;height:2px;background:#e4e4e7}.reg-step-connector.completed{background:#10b981}.provisioning-steps{list-style:none;padding:0;margin:1.5rem 0}.provisioning-step{display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;border:1px solid #F4F4F5;border-radius:1rem;margin-bottom:.75rem;background:#fff;transition:all .25s cubic-bezier(.4,0,.2,1)}.provisioning-step.active{border-color:#eaaab0;background:#fbf0f1}.provisioning-step.active .provisioning-step-icon{background:#f5d5d8;color:#9f1019}.provisioning-step.active .provisioning-step-text{color:#2d2d30}.provisioning-step.completed{border-color:#34d399;background:#ecfdf5}.provisioning-step.completed .provisioning-step-icon{background:#10b981;color:#fff}.provisioning-step.completed .provisioning-step-text{color:#059669}.provisioning-step.failed{border-color:#f87171;background:#fef2f2}.provisioning-step.failed .provisioning-step-icon{background:#ef4444;color:#fff}.provisioning-step.failed .provisioning-step-text{color:#dc2626}.provisioning-step-icon{width:40px;height:40px;border-radius:9999px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#f4f4f5;color:#a1a1aa;transition:all .25s cubic-bezier(.4,0,.2,1)}.provisioning-step-text{flex:1;font-size:.8125rem;font-weight:500;color:#71717a}.spinner{width:20px;height:20px;border:2px solid #EAAAB0;border-top-color:#9f1019;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.success-icon-large{width:80px;height:80px;border-radius:9999px;background:#ecfdf5;display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem}.success-icon-large .material-symbols-outlined{font-size:48px;color:#10b981}.credentials-box{background:#fafafa;border:1px solid #E4E4E7;border-radius:1rem;padding:1.25rem;margin:1.25rem 0}.cred-row{display:flex;align-items:center;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #F4F4F5;font-size:.8125rem}.cred-row:last-child{border-bottom:none}.cred-label{color:#71717a;font-weight:500}.cred-value{font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-weight:600;color:#2d2d30}.alert{padding:1rem 1.25rem;border-radius:1rem;font-size:.8125rem;display:flex;align-items:flex-start;gap:.75rem}.alert .material-symbols-outlined{font-size:20px;flex-shrink:0;margin-top:1px}.alert strong{display:block;margin-bottom:.25rem}.alert-info{background:#f0f9ff;border:1px solid #E0F2FE;color:#0284c7}.alert-warning{background:#fffbeb;border:1px solid #FEF3C7;color:#d97706}.alert-success{background:#ecfdf5;border:1px solid #D1FAE5;color:#059669}.alert-danger{background:#fef2f2;border:1px solid #FEE2E2;color:#dc2626}@media(max-width:768px){.login-page{padding:1rem}.login-card.wide{max-width:100%;padding:1.25rem}.form-row{grid-template-columns:1fr}}.cp-sidebar{background:linear-gradient(180deg,#1e293b,#334155,#475569)!important}.cp-sidebar .logo-icon{background:linear-gradient(135deg,#475569,#334155)!important;box-shadow:0 2px 8px #1e293b59!important}.cp-sidebar .nav-link.active{border-left-color:#94a3b8!important}.app-layout{display:flex;min-height:100vh}.sidebar{position:fixed;top:0;left:0;width:272px;height:100vh;background:linear-gradient(180deg,#1e293b,#334155,#475569);color:#fff;display:flex;flex-direction:column;z-index:100;transition:width .25s cubic-bezier(.4,0,.2,1);overflow:hidden;border-right:1px solid rgba(255,255,255,.06)}.sidebar.collapsed{width:72px}.sidebar-header{display:flex;align-items:center;padding:1rem 1.25rem;height:60px;border-bottom:1px solid rgba(255,255,255,.08);flex-shrink:0}.sidebar-logo{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:#fff;white-space:nowrap;overflow:hidden;cursor:pointer}.sidebar-logo .logo-icon{width:36px;height:36px;background:linear-gradient(135deg,#9f1019,#7e0e16);border-radius:.75rem;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;flex-shrink:0;box-shadow:0 2px 8px #9f101959}.sidebar-logo .logo-text{font-size:1rem;font-weight:600;letter-spacing:-.01em}.sidebar-logo .logo-sub{font-size:.75rem;opacity:.5;display:block}.sidebar.collapsed .logo-text,.sidebar.collapsed .logo-sub,.sidebar.collapsed .nav-label,.sidebar.collapsed .nav-section-title,.sidebar.collapsed .sidebar-footer-info{display:none}.sidebar-toggle{background:none;border:none;color:#ffffff80;cursor:pointer;padding:.5rem;margin-left:auto;border-radius:.5rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s cubic-bezier(.4,0,.2,1)}.sidebar-toggle:hover{color:#fff;background:#ffffff1a}.sidebar-nav{flex:1;overflow-y:auto;overflow-x:hidden;padding:1rem 0}.sidebar-nav::-webkit-scrollbar{width:3px}.sidebar-nav::-webkit-scrollbar-track{background:transparent}.sidebar-nav::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:3px}.nav-section-title{padding:1.25rem 1.25rem .5rem;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#ffffff59;white-space:nowrap}.nav-item{position:relative}.nav-link{display:flex;align-items:center;gap:.75rem;padding:.5rem 1.25rem;color:#ffffffa6;text-decoration:none;font-size:.8125rem;font-weight:500;white-space:nowrap;border-left:3px solid transparent;transition:all .15s cubic-bezier(.4,0,.2,1);margin:1px 0}.nav-link:hover{color:#fff;background:#ffffff12;text-decoration:none}.nav-link.active{color:#fff;background:#ffffff1a;border-left-color:#94a3b8}.nav-link .nav-icon{flex-shrink:0;font-size:20px;width:20px;opacity:.85}.nav-link:hover .nav-icon,.nav-link.active .nav-icon{opacity:1}.nav-link .nav-label{flex:1}.sidebar-footer{padding:1rem 1.25rem;border-top:1px solid rgba(255,255,255,.08);flex-shrink:0}.sidebar-footer-info{font-size:.75rem;color:#ffffff59}.main-content{margin-left:272px;flex:1;min-width:0;min-height:100vh;transition:margin-left .25s cubic-bezier(.4,0,.2,1)}.main-content.sidebar-collapsed{margin-left:72px}.top-header{display:flex;align-items:center;justify-content:space-between;height:60px;padding:0 1.5rem;background:#ffffffbf;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid #E4E4E7;position:sticky;top:0;z-index:90}.header-left{display:flex;align-items:center;gap:1rem}.header-right{display:flex;align-items:center;gap:.5rem}.breadcrumb{display:flex;align-items:center;gap:.5rem;font-size:.8125rem}.breadcrumb-item{color:#71717a;text-decoration:none;transition:color .15s cubic-bezier(.4,0,.2,1)}.breadcrumb-item:hover{color:#9f1019}.breadcrumb-item.breadcrumb-item-static{color:#71717a;cursor:default}.breadcrumb-item.breadcrumb-item-static:hover{color:#71717a}.breadcrumb-sep{color:#d4d4d8}.breadcrumb-current{color:#2d2d30;font-weight:600}.global-search{position:relative}.global-search input{width:260px;padding:.45rem .75rem .45rem 2rem;border:1px solid #E4E4E7;border-radius:9999px;font-size:.8125rem;background:#fafafa;transition:all .25s cubic-bezier(.4,0,.2,1);color:#3e3e42}.global-search input::placeholder{color:#a1a1aa}.global-search input:focus{outline:none;border-color:#d86070;background:#fff;box-shadow:0 0 0 3px #9f10191a;width:340px}.global-search .search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#a1a1aa;font-size:18px}.user-menu{position:relative}.user-menu-btn{display:flex;align-items:center;gap:.5rem;padding:.25rem .75rem;background:none;border:none;cursor:pointer;border-radius:9999px;transition:background .15s cubic-bezier(.4,0,.2,1)}.user-menu-btn:hover{background:#f4f4f5}.user-avatar{width:34px;height:34px;border-radius:9999px;background:linear-gradient(135deg,#475569,#334155);color:#fff;display:flex;align-items:center;justify-content:center;font-size:.8125rem;font-weight:600}.user-name{font-size:.8125rem;font-weight:500;color:#3e3e42}.user-dropdown{display:none;position:absolute;top:calc(100% + .5rem);right:0;background:#fff;border:1px solid #F4F4F5;border-radius:1rem;box-shadow:0 20px 25px -5px #1a1a1d14,0 8px 10px -6px #1a1a1d0a;min-width:210px;z-index:200;overflow:hidden}.user-dropdown.show{display:block}.user-dropdown-item{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;font-size:.8125rem;color:#3e3e42;text-decoration:none;cursor:pointer;border:none;background:none;width:100%;transition:background .15s cubic-bezier(.4,0,.2,1)}.user-dropdown-item:hover{background:#fafafa;text-decoration:none}.page-content{padding:1.5rem 2rem;max-width:1440px}.page-title{font-size:1.5rem;font-weight:700;color:#1a1a1d;margin-bottom:.25rem;letter-spacing:-.025em}.page-subtitle{font-size:.875rem;color:#71717a;margin-bottom:1.5rem}.stat-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem;margin-bottom:1.5rem}.stat-card{background:#fff;border:1px solid #F4F4F5;border-radius:1.25rem;padding:1.25rem;display:flex;align-items:flex-start;gap:1rem;box-shadow:0 1px 3px #1a1a1d0f,0 1px 2px #1a1a1d0a;transition:all .25s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(135deg,#9f1019,#7e0e16);opacity:0;transition:opacity .25s cubic-bezier(.4,0,.2,1)}.stat-card:hover{box-shadow:0 10px 15px -3px #1a1a1d14,0 4px 6px -4px #1a1a1d0a;transform:translateY(-2px)}.stat-card:hover:before{opacity:1}.stat-card-icon{width:48px;height:48px;border-radius:1rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-card-icon .material-symbols-outlined{font-size:24px}.stat-card-icon.blue{background:#fbf0f1;color:#9f1019}.stat-card-icon.green{background:#ecfdf5;color:#059669}.stat-card-icon.yellow{background:#fffbeb;color:#d97706}.stat-card-icon.red{background:#fef2f2;color:#dc2626}.stat-card-icon.purple{background:#f5f3ff;color:#7c3aed}.stat-card-icon.cyan{background:#ecfeff;color:#0891b2}.stat-card-value{font-size:1.75rem;font-weight:700;color:#1a1a1d;line-height:1;letter-spacing:-.025em}.stat-card-label{font-size:.8125rem;color:#71717a;margin-top:.25rem}.stat-card-trend{font-size:.75rem;margin-top:.5rem;display:inline-flex;align-items:center;gap:2px;padding:2px 8px;border-radius:9999px;font-weight:500}.stat-card-trend.up{color:#059669;background:#ecfdf5}.stat-card-trend.down{color:#dc2626;background:#fef2f2}.card{background:#fff;border:1px solid #F4F4F5;border-radius:1.25rem;box-shadow:0 1px 3px #1a1a1d0f,0 1px 2px #1a1a1d0a;overflow:hidden;transition:box-shadow .25s cubic-bezier(.4,0,.2,1),transform .25s cubic-bezier(.4,0,.2,1)}.card:hover{box-shadow:0 4px 6px -1px #1a1a1d12,0 2px 4px -2px #1a1a1d0d}.card-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem;border-bottom:1px solid #F4F4F5}.card-title{font-size:1rem;font-weight:600;color:#2d2d30;letter-spacing:-.01em}.card-body{padding:1.25rem}.card-footer{padding:1rem 1.25rem;border-top:1px solid #F4F4F5;background:#fafafa}.dashboard-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}.chart-container{position:relative;height:300px;width:100%}.chart-container.sm{height:200px}.timeline{position:relative;padding-left:2rem}.timeline:before{content:"";position:absolute;left:11px;top:0;bottom:0;width:2px;background:linear-gradient(180deg,#eaaab0,#e4e4e7)}.timeline-item{position:relative;padding-bottom:1.25rem}.timeline-dot{position:absolute;left:calc(-2rem + 4px);top:4px;width:16px;height:16px;border-radius:50%;border:2px solid #D4D4D8;background:#fff}.timeline-dot.green{border-color:#10b981;background:#ecfdf5}.timeline-dot.yellow{border-color:#f59e0b;background:#fffbeb}.timeline-dot.red{border-color:#ef4444;background:#fef2f2}.timeline-dot.blue{border-color:#9f1019;background:#fbf0f1}.timeline-date{font-size:.75rem;color:#71717a;margin-bottom:.25rem}.timeline-title{font-size:.8125rem;font-weight:500;color:#2d2d30}.timeline-desc{font-size:.75rem;color:#71717a;margin-top:.25rem}.table-container{overflow-x:auto;border-radius:1rem}table{width:100%;border-collapse:collapse}th{padding:.75rem 1rem;text-align:left;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#71717a;background:#fafafa;border-bottom:2px solid #E4E4E7;white-space:nowrap}td{padding:.75rem 1rem;border-bottom:1px solid #F4F4F5;font-size:.8125rem;color:#3e3e42;vertical-align:middle}tbody tr{transition:background .15s cubic-bezier(.4,0,.2,1)}tbody tr:hover{background:#fbf0f1}.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:9999px;font-size:.75rem;font-weight:600;white-space:nowrap;letter-spacing:.01em}.badge-primary{background:#fbf0f1;color:#8c0f18}.badge-success{background:#ecfdf5;color:#059669}.badge-warning{background:#fffbeb;color:#d97706}.badge-danger{background:#fef2f2;color:#dc2626}.badge-info{background:#f0f9ff;color:#0284c7}.badge-gray{background:#f4f4f5;color:#575762}.badge-purple{background:#f5f3ff;color:#7c3aed}.semaphore-dot{width:10px;height:10px;border-radius:50%;display:inline-block;flex-shrink:0}.semaphore-dot.green{background:#10b981}.semaphore-dot.yellow{background:#f59e0b}.semaphore-dot.red{background:#ef4444}.filter-bar{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#fff;border:1px solid #F4F4F5;border-radius:1rem;margin-bottom:1.25rem;flex-wrap:wrap;box-shadow:0 1px 2px #1a1a1d0a}.filter-bar .form-control{width:auto;min-width:160px}.grid-3{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:1.25rem}.infra-card{background:#fff;border:1px solid #F4F4F5;border-radius:1.25rem;padding:1.25rem;box-shadow:0 1px 3px #1a1a1d0f,0 1px 2px #1a1a1d0a;transition:all .25s cubic-bezier(.4,0,.2,1)}.infra-card:hover{box-shadow:0 10px 15px -3px #1a1a1d14,0 4px 6px -4px #1a1a1d0a;transform:translateY(-2px)}.infra-card-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:1rem}.infra-card-header>div{min-width:0}.infra-card-meta{overflow-wrap:anywhere}.infra-card-title{font-size:1rem;font-weight:600;color:#1a1a1d}.infra-card-meta{font-size:.75rem;color:#71717a;margin-top:.25rem}.infra-card-tenants{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.75rem}.infra-card-tenants .badge{font-size:10px;padding:2px 6px}.capacity-bar{height:10px;background:#f4f4f5;border-radius:9999px;overflow:hidden;margin:.5rem 0}.capacity-bar-fill{height:100%;border-radius:9999px;transition:width .6s ease}.capacity-bar-fill.low{background:linear-gradient(90deg,#10b981,#34d399)}.capacity-bar-fill.medium{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.capacity-bar-fill.high{background:linear-gradient(90deg,#ef4444,#f87171)}.d-flex{display:flex}.justify-between{justify-content:space-between}.align-center{align-items:center}.text-mono{font-family:JetBrains Mono,Fira Code,Consolas,monospace}.text-muted{color:#71717a}.text-sm{font-size:.8125rem}.text-xs{font-size:.75rem}.text-center{text-align:center}.fw-semibold{font-weight:600}.btn-group{display:flex;gap:.5rem}.btn-ghost{background:transparent;color:#575762;border:none;cursor:pointer;padding:.3rem .75rem;border-radius:.5rem;display:inline-flex;align-items:center;justify-content:center;transition:all .15s cubic-bezier(.4,0,.2,1)}.btn-ghost:hover{background:#f4f4f5}.btn-ghost .material-symbols-outlined{font-size:18px}.btn-sm{padding:.3rem .75rem;font-size:.75rem;border-radius:.5rem}.btn-sm .material-symbols-outlined{font-size:16px}.mobile-backdrop,.mobile-menu-btn{display:none}@media(max-width:1200px){.dashboard-grid{grid-template-columns:1fr}.page-content{padding:1.25rem 1.5rem}}@media(max-width:768px){.sidebar{transform:translate(-100%)}.sidebar.mobile-open{transform:translate(0);width:272px;box-shadow:0 25px 50px -12px #1a1a1d26}.main-content{margin-left:0!important}.mobile-backdrop{display:block;position:fixed;inset:0;background:#0006;z-index:99}.mobile-menu-btn{display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:6px;border-radius:6px;color:#575762;margin-right:8px}.mobile-menu-btn:hover{background:#f4f4f5}.sidebar-toggle{display:none}.stat-cards{grid-template-columns:repeat(2,1fr)}.page-content{padding:1rem}.page-title{font-size:1.25rem}.top-header{padding:0 1rem}.global-search input{width:180px}.global-search input:focus{width:220px}.filter-bar{flex-direction:column;align-items:stretch}.filter-bar .form-control{width:100%!important;min-width:0}.user-name{display:none}.grid-3{grid-template-columns:minmax(0,1fr)}}@media(max-width:480px){.stat-cards{grid-template-columns:1fr}.global-search{display:none}.btn-group{flex-wrap:wrap}}.tq-sidebar{background:linear-gradient(180deg,#4a080d,#6b0c13 40%,#8c0f18)!important}.tq-sidebar .logo-icon{background:linear-gradient(135deg,#9f1019,#7e0e16)!important;box-shadow:0 2px 8px #9f101959!important}.tq-sidebar img.logo-icon-img{background:none!important;box-shadow:none!important;object-fit:contain;padding:0}.tq-sidebar img.logo-full-img{height:45px;width:auto;max-width:182px;object-fit:contain;display:block}.tq-sidebar .nav-link.active{border-left-color:#eaaab0!important}.nav-item.has-children>.nav-link{cursor:pointer}.nav-item.has-children .nav-arrow{font-size:16px;margin-left:auto;transition:transform .15s cubic-bezier(.4,0,.2,1);opacity:.5}.nav-item.has-children.expanded .nav-arrow{transform:rotate(90deg);opacity:.8}.nav-children{overflow:hidden;max-height:0;transition:max-height .25s cubic-bezier(.4,0,.2,1)}.has-children.expanded>.nav-children{max-height:600px}.nav-children .nav-link{padding-left:3.25rem;font-size:.75rem;opacity:.75}.nav-children .nav-link:hover{opacity:1}.nav-children .nav-link.active{opacity:1;border-left-color:transparent;background:#ffffff14}.sidebar.collapsed .nav-children,.sidebar.collapsed .nav-arrow{display:none}:root{--module-color-sistema: #9F1019;--module-color-tara: #7C3AED;--module-color-verifica: #F43F5E;--module-color-qualifica: #F59E0B;--module-color-controlla: #10B981;--module-color-ai: #06B6D4}.mod-sistema{--mod-color: var(--module-color-sistema)}.mod-tara{--mod-color: var(--module-color-tara)}.mod-verifica{--mod-color: var(--module-color-verifica)}.mod-qualifica{--mod-color: var(--module-color-qualifica)}.mod-controlla{--mod-color: var(--module-color-controlla)}.mod-ai{--mod-color: var(--module-color-ai)}.nav-icon-sistema{color:#f87171!important}.nav-icon-tara{color:#a78bfa!important}.nav-icon-verifica{color:#fb7185!important}.nav-icon-qualifica{color:#fbbf24!important}.nav-icon-controlla{color:#34d399!important}.nav-icon-ai{color:#67e8f9!important}.scheda-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.scheda-field label{font-size:12px;font-weight:500;color:#555}.scheda-field .req{color:#dc2626;margin-left:2px}.scheda-field input,.scheda-field select,.scheda-field textarea{border:1px solid #d0d0d0;border-radius:6px;padding:8px 10px;font-size:13px;font-family:inherit;outline:none;background:#fff}.scheda-field input:focus,.scheda-field select:focus,.scheda-field textarea:focus{border-color:#0891b2;box-shadow:0 0 0 3px #0891b21a}.scheda-field.scheda-field--check label{flex-direction:row;align-items:center;gap:8px;cursor:pointer;font-weight:400}.scheda-field-hint{font-size:11px;color:#999}.scheda-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media(max-width:700px){.scheda-form-grid{grid-template-columns:1fr}}.scheda-form-grid>.scheda-field{margin-bottom:0}.scheda-form-grid>.scheda-field.full{grid-column:1/-1}.scheda-form-grid>.scheda-field input:disabled,.scheda-form-grid>.scheda-field select:disabled,.scheda-form-grid>.scheda-field textarea:disabled{background:#f5f5f5;color:#888;cursor:not-allowed}.scheda-form-grid>.scheda-field textarea{resize:vertical;min-height:60px}.scheda-form-grid>.scheda-field .hint{font-size:11px;color:#888;font-style:italic}.scheda-form-grid+.scheda-field{margin-top:14px}.scheda-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.scheda-error-banner{margin-bottom:14px;padding:8px 12px;background:#fdecea;color:#b71c1c;border-radius:6px;font-size:12.5px;border:1px solid #f8c4be}.scheda-dialog-intro{margin:0 0 14px;font-size:13px;color:#666;line-height:1.5}.scheda-callout{display:flex;align-items:flex-start;gap:8px;margin:0 0 14px;padding:10px 12px;border-radius:6px;border-left:3px solid;font-size:12.5px;line-height:1.45}.scheda-callout .material-symbols-outlined{font-size:17px;flex-shrink:0}.scheda-callout--info{background:#dbeafe;border-left-color:#2563eb;color:#1e3a8a}.scheda-callout--note{background:#ecfeff;border-left-color:#06b6d4;color:#155e75}.scheda-callout--warn{background:#fef3c7;border-left-color:#f59e0b;color:#92400e}.scheda-choices{display:flex;flex-direction:column;gap:8px}.scheda-choices--scorre{max-height:260px;overflow-y:auto;padding:10px 12px;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:12px}.scheda-choice{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #d8dce0;border-radius:8px;background:#fff;cursor:pointer;font-size:13px;color:#374151}.scheda-choice input{margin:2px 0 0;accent-color:#0891B2;flex-shrink:0}.scheda-choice>.material-symbols-outlined{font-size:20px;color:#9ca3af;flex-shrink:0}.scheda-choice strong{display:block;font-weight:600;color:#1a1a1a}.scheda-choice em{display:block;font-style:normal;font-size:11.5px;color:#888;margin-top:2px;line-height:1.4}.scheda-choice.on{background:#ecfeff;border-color:#67e8f9}.scheda-choice.on>.material-symbols-outlined{color:#0891b2}.scheda-choice.on strong{color:#155e75}.ta-right{text-align:right}.check-row{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:13px}.check-row input[type=checkbox]{margin-top:3px}.check-row span{display:flex;flex-direction:column;gap:2px;min-width:0;overflow-wrap:anywhere}.check-row strong{color:#1a1a1a;font-weight:500}.check-row small{color:#777;font-size:11.5px}.scheda-readonly-value{margin:0;padding:7px 0;font-size:13.5px;font-weight:600;color:#1a1a1a}.scheda-readonly-value .muted{font-weight:400;color:#888}.text-mono{font-family:JetBrains Mono,Consolas,monospace}.doc-link{color:#9f1019;font-weight:600;text-decoration:none}.doc-link:hover{text-decoration:underline}.classe-tag{display:inline-block;padding:1px 7px;border-radius:4px;background:#7c3aed1a;color:#6d28d9;font-size:11.5px;font-weight:600;white-space:nowrap}.doc-titolo{padding-left:18px}.scheda-banner{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:6px;font-size:13px;margin-bottom:10px;border:1px solid}.scheda-banner strong{display:block;margin-bottom:2px}.scheda-banner small{display:block;font-size:11.5px;opacity:.85}.scheda-banner .material-symbols-outlined{font-size:20px;flex-shrink:0}.scheda-banner.banner-ok{background:#dcfce7;border-color:#86efac;color:#166534}.scheda-banner.banner-info{background:#dbeafe;border-color:#93c5fd;color:#1e40af}.scheda-banner.banner-warn{background:#fef3c7;border-color:#fcd34d;color:#b45309}.scheda-banner.banner-danger{background:#fee2e2;border-color:#fca5a5;color:#b91c1c}.scheda-tab-content{margin-top:16px}.tab-card{background:#fff;border:1px solid #e0e0e0;border-radius:10px;padding:8px}.tab-card.pad{padding:18px 20px}.tab-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.tab-title{margin:0;font-size:15px;font-weight:700;color:#1a1a1a}.tab-head .text-muted{font-size:13px}.scheda-page .tab-card .toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.scheda-page .tab-card .search-input-wrap{position:relative;flex:1;min-width:220px;max-width:360px}.scheda-page .tab-card .search-input-wrap .material-symbols-outlined{position:absolute;left:10px;top:50%;transform:translateY(-50%);font-size:19px;color:#9ca3af;pointer-events:none}.scheda-page .tab-card .search-input-wrap input{width:100%;height:36px;box-sizing:border-box;padding:0 10px 0 34px;border:1px solid #d0d0d0;border-radius:6px;font-size:13px;font-family:inherit;outline:none;background:#fff}.scheda-page .tab-card .search-input-wrap input:focus{border-color:#0891b2;box-shadow:0 0 0 3px #0891b21a}.scheda-page .tab-card .filter-btn,.scheda-page .tab-card .toolbar select{height:36px;box-sizing:border-box;padding:0 10px;border:1px solid #d0d0d0;border-radius:6px;font-size:13px;font-family:inherit;background:#fff;color:#444;cursor:pointer;outline:none}.scheda-page .tab-card .filter-btn:focus,.scheda-page .tab-card .toolbar select:focus{border-color:#0891b2;box-shadow:0 0 0 3px #0891b21a}.scheda-page .tab-card .toolbar select{padding-right:28px}.scheda-page .tab-card .filter-btn{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.scheda-page .tab-card .filter-btn .material-symbols-outlined{font-size:18px}.scheda-page .tab-card .toolbar-count{margin-left:auto;font-size:13px;color:#666}.scheda-page .tab-card .filter-popover-anchor{position:relative}.scheda-page .tab-card .filter-popover-btn.has-filters{background:#ecfeff;border-color:#67e8f9;color:#155e75}.scheda-page .tab-card .filter-popover-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#0891b2;color:#fff;font-size:11px;font-weight:600}.scheda-page .tab-card .filter-popover{position:absolute;top:calc(100% + 6px);left:0;z-index:200;width:340px;background:#fff;border:1px solid #e0e0e0;border-radius:10px;box-shadow:0 8px 24px #0000001f;overflow:hidden}.scheda-page .tab-card .filter-popover-sezioni{display:grid;grid-template-columns:1fr}.scheda-page .tab-card .filter-popover-section{padding:12px 14px;border-bottom:1px solid #f0f0f0}.scheda-page .tab-card .filter-popover-section-title{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;font-weight:600;margin-bottom:8px}.scheda-page .tab-card .filter-popover-row{display:flex;align-items:center;gap:10px;padding:6px 4px;font-size:13px;cursor:pointer;border-radius:4px;transition:background-color .1s}.scheda-page .tab-card .filter-popover-row:hover{background:#f9fafb}.scheda-page .tab-card .filter-popover-row input[type=checkbox]{width:16px;height:16px;accent-color:#0891B2;cursor:pointer}.scheda-page .tab-card .filter-popover-label{flex:1;min-width:0}.scheda-page .tab-card .filter-popover-count{font-size:12px;color:#6b7280;font-variant-numeric:tabular-nums}.scheda-page .tab-card .filter-popover-empty{font-size:12px;color:#9ca3af;font-style:italic;padding:4px}.scheda-page .tab-card .filter-popover-footer{display:flex;justify-content:flex-end;gap:8px;padding:10px 14px;background:#fafafa}.scheda-page .tab-card .filter-popover-anchor.due-colonne .filter-popover{width:640px}.scheda-page .tab-card .filter-popover-anchor.due-colonne .filter-popover-sezioni{grid-template-columns:1fr 1fr}.scheda-page .tab-card .filter-popover-anchor.due-colonne .filter-popover-section:nth-child(odd):not(:last-child){border-right:1px solid #f0f0f0}.scheda-page .tab-card .quick-filters{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.scheda-page .tab-card .qf-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.scheda-page .tab-card .qf-label{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;font-weight:600}.scheda-page .tab-card .qf-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border:1px solid #e0e0e0;border-radius:999px;background:#fff;font-size:12.5px;color:#444;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.scheda-page .tab-card .qf-chip:hover{background:#f5f5f5}.scheda-page .tab-card .qf-chip.active{background:#ecfeff;border-color:#0891b2;color:#155e75;font-weight:500}.scheda-page .tab-card .qf-chip .qf-chip-count{background:#0891b2;color:#fff;font-size:11px;padding:1px 6px;border-radius:8px;font-weight:600;font-variant-numeric:tabular-nums}.scheda-page .tab-card .qf-count{font-size:11px;opacity:.7;font-variant-numeric:tabular-nums}.scheda-page .tab-card .qf-count.warn{opacity:1;color:#b45309;font-weight:700}.scheda-page .tab-card .filter-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:14px}.scheda-page .tab-card .filter-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:#ecfeff;border:1px solid #A5F3FC;color:#155e75;font-size:12px}.scheda-page .tab-card .filter-chip-x{cursor:pointer;opacity:.6;font-size:15px;line-height:1}.scheda-page .tab-card .filter-chip-x:hover{opacity:1}.scheda-page .tab-card .filter-chips-clear{font-size:12px;color:#0e7490;text-decoration:underline;cursor:pointer;background:none;border:none}.scheda-page .tab-card .filter-chips-clear:hover{color:#155e75}.scheda-page .tab-card .date-field{display:inline-flex;align-items:center;gap:var(--space-2)}.scheda-page .tab-card .date-field span{font-size:var(--font-size-xs);color:var(--color-gray-500)}.scheda-page .tab-card .date-field input[type=date]{height:36px;box-sizing:border-box;padding:0 10px;border:1px solid #d0d0d0;border-radius:6px;font-size:13px;font-family:inherit;background:#fff;color:#444;outline:none}.scheda-page .tab-card .date-field input[type=date]:focus{border-color:#0891b2;box-shadow:0 0 0 3px #0891b21a}.tab-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.scheda-stack{display:flex;flex-direction:column;gap:16px}.rev-actions{white-space:nowrap;text-align:right}.rev-act{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin-left:4px;border-radius:6px;border:1px solid #e3e5e8;background:#fff;color:#6b7280;cursor:pointer;transition:all .12s;text-decoration:none}.rev-act .material-symbols-outlined{font-size:17px}.rev-act:disabled{opacity:.35;cursor:not-allowed}.rev-act:not(:disabled):hover{background:#f3f4f6}.rev-act.act-edit:not(:disabled):hover{color:#9f1019;border-color:#f0c2c6;background:#fdf2f3}.rev-act.act-view:not(:disabled):hover{color:#2563eb;border-color:#c7dbfb;background:#eff5ff}.rev-act.act-note:not(:disabled):hover{color:#b45309;border-color:#fde68a;background:#fffbeb}.rev-act.act-download:not(:disabled):hover{color:#047857;border-color:#a7f3d0;background:#ecfdf5}.rev-act.act-delete:not(:disabled):hover{color:#b91c1c;border-color:#fca5a5;background:#fef2f2}.rev-act.act-save:not(:disabled):hover{color:#047857;border-color:#a7f3d0;background:#ecfdf5}.rev-act.act-cancel:not(:disabled):hover{color:#374151;border-color:#d1d5db;background:#f3f4f6}.rev-act--muted{opacity:.4}.rev-edit-row td{background:#fffdf7}.tab-soon{text-align:center;padding:40px 20px;color:#888}.tab-soon>.material-symbols-outlined{font-size:48px;opacity:.28;display:block;margin-bottom:10px}.tab-soon .ts-title{margin:0 0 4px;font-weight:600;color:#1a1a1a;font-size:15px}.tab-soon p{margin:0;font-size:13px}.wf-banner{display:flex;align-items:center;gap:8px;padding:10px 13px;border-radius:8px;font-size:13px;margin-bottom:14px}.wf-banner .material-symbols-outlined{font-size:19px}.wf-banner.danger{background:#fef2f2;color:#b91c1c;border:1px solid #FCA5A5}.wf-banner.info{background:#eff6ff;color:#1d4ed8;border:1px solid #BFDBFE;margin-top:18px;margin-bottom:0}.wf-banner.warn{background:#fffbeb;color:#92400e;border:1px solid #FCD34D}.wf-banner.success{background:#ecfdf5;color:#047857;border:1px solid #A7F3D0}.wf-banner.muted{background:#f4f4f5;color:#3f3f46;border:1px solid #D4D4D8}.wf-banner.rsp-banner{align-items:flex-start}.wf-banner.rsp-banner .material-symbols-outlined{margin-top:1px}.wf-banner.rsp-banner .rsp-body{display:flex;flex-direction:column;gap:2px}.wf-banner.rsp-banner .rsp-meta{font-size:12.5px;opacity:.9}.wf-banner.rsp-banner .rsp-motivo{font-size:12.5px;font-style:italic}.scheda-table-wrap{background:#fff;border:1px solid #e0e0e0;border-radius:10px;overflow:hidden;overflow-x:auto}.scheda-table-scroll{overflow-x:auto}.scheda-table{width:100%;border-collapse:collapse;font-size:13px}.scheda-table thead th{text-align:left;text-transform:uppercase;letter-spacing:.04em;font-size:11px;color:#6b7280;font-weight:600;border-bottom:1px solid #e5e7eb;padding:10px 12px;background:#fafafa}.scheda-table thead th:first-child{border-top-left-radius:8px}.scheda-table thead th:last-child{border-top-right-radius:8px}.scheda-table thead th.rev-actions,.scheda-table thead th.num{text-align:right}.scheda-table thead th.num,.scheda-table tbody td.num{padding-right:22px}.scheda-table tbody td{padding:12px;border-bottom:1px solid #f3f4f6;vertical-align:middle}.scheda-table tbody tr:last-child td{border-bottom:none}.scheda-table.rows-clickable tbody tr{cursor:pointer}.scheda-table.rows-clickable tbody tr:hover{background:#fafafa}.cell-title{font-weight:500;color:#1a1a1a}.cell-testo{overflow-wrap:anywhere;min-width:200px}.cell-sub{font-size:11.5px;color:#9ca3af;margin-top:2px}.cell-title a{color:inherit;text-decoration:none;cursor:pointer}.cell-title a:hover{color:#9f1019;text-decoration:underline}.nota-tabella{margin:var(--space-3) 0 0;font-size:12.5px;line-height:1.5;color:var(--color-gray-600)}.scheda-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.scheda-list-item{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:8px;background:#fff;border:1px solid #f0f0f0}.scheda-list-item.clickable{cursor:pointer}.scheda-list-item.clickable:hover{background:#fafafa}.scheda-list-item>.material-symbols-outlined:first-child{color:#0891b2;font-size:22px;flex-shrink:0}.scheda-list-item>div{min-width:0}.scheda-list-item .sli-title{display:block;font-size:14px;font-weight:500;color:#1a1a1a;overflow-wrap:anywhere}.scheda-list-item .sli-meta{display:block;font-size:12px;color:#888;margin-top:2px;overflow-wrap:anywhere}.scheda-list-item .sli-chevron{color:#ccc;font-size:18px;margin-left:auto}.scheda-list-item .sli-trail{margin-left:auto}.cross-pill{padding:3px 8px;border-radius:999px;font-size:11px;font-weight:500;white-space:nowrap;border:1px solid transparent}.cross-pill-attivo{background:#ecfdf5;color:#059669;border-color:#a7f3d0}.cross-pill-sospeso{background:#fffbeb;color:#92400e;border-color:#fde68a}.cross-pill-draft{background:#f3f4f6;color:#4b5563;border-color:#d1d5db}.cross-pill-archiviato{background:#f3f4f6;color:#6b7280;border-color:#d1d5db}.cross-pill-bloccato{background:#fee2e2;color:#b91c1c;border-color:#fecaca}.scheda-page .btn{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;border:1px solid transparent;transition:background .15s;text-decoration:none}.scheda-page .btn .material-symbols-outlined{font-size:18px}.scheda-page .btn:disabled{opacity:.5;cursor:not-allowed}.scheda-page .btn-primary{background:#9f1019;color:#fff}.scheda-page .btn-primary:hover:not(:disabled){background:#7e0c14}.scheda-page .btn-ghost{background:#fff;border-color:#d0d0d0;color:#444}.scheda-page .btn-ghost:hover:not(:disabled){background:#f5f5f5}.scheda-page .btn-icon{padding:9px;width:38px;gap:0;justify-content:center}.scheda-page .btn-sm{padding:6px 12px;font-size:12px}.scheda-page .btn-icon{background:transparent;border:none;cursor:pointer;padding:4px;color:#888;display:inline-flex;align-items:center}.scheda-page .btn-icon:hover{color:#1a1a1a}.scheda-page .btn-icon.btn-icon-danger:hover{color:#b71c1c}.scheda-page .btn-icon .material-symbols-outlined{font-size:20px}.scheda-page .tipo-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 10px;border-radius:12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;background:#f0f0f0;color:#555}.scheda-page .tipo-pill .material-symbols-outlined{font-size:14px}.scheda-page .tipo-pill--azienda{background:#fee2e2;color:#991b1b}.scheda-page .tipo-pill--stabilimento{background:#fff7ed;color:#9a3412}.scheda-page .tipo-pill--direzione{background:#dbeafe;color:#1e40af}.scheda-page .tipo-pill--reparto{background:#dcfce7;color:#166534}.scheda-page .tipo-pill--team{background:#fef9c3;color:#854d0e}.scheda-page .tipo-pill--funzione{background:#f3e8ff;color:#6b21a8}.scheda-page .tipo-pill--generic{background:#f0f0f0;color:#555}.scheda-page .badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;padding:2px 8px;border-radius:10px;font-weight:500;white-space:nowrap}.scheda-page .badge.ok{background:#dcfce7;color:#16a34a}.scheda-page .badge.warn{background:#fef3c7;color:#b45309}.scheda-page .badge.danger{background:#fee2e2;color:#dc2626}.scheda-page .badge.info{background:#dbeafe;color:#1e40af}.scheda-page .badge.muted{background:#f0f0f0;color:#666}.scheda-page .badge-tipo{font-size:10px;padding:2px 7px;border-radius:3px;font-weight:600;letter-spacing:.4px;text-transform:uppercase}.scheda-page .badge-tipo.singolo{background:#eff6ff;color:#1e40af}.scheda-page .badge-tipo.collettivo{background:#fffbeb;color:#b45309}.scheda-page .meta-item{display:inline-flex;align-items:center;gap:4px}.scheda-page .meta-item .material-symbols-outlined{font-size:14px;color:#888}.scheda-page .meta-item strong{color:#1a1a1a}.scheda-page .meta-link{color:#0891b2;cursor:pointer;font-weight:500}.scheda-page .meta-link:hover{text-decoration:underline}.scheda-page .meta-muted{color:#999;font-style:italic}.scheda-page .scheda-breadcrumb .material-symbols-outlined{font-size:14px}.scheda-page .scheda-breadcrumb-item{cursor:pointer;color:var(--color-primary-500, #9F1019);text-decoration:none}.scheda-page .scheda-breadcrumb-item:hover,.scheda-page .scheda-breadcrumb-item:focus-visible{text-decoration:underline;outline:none}.scheda-page .scheda-breadcrumb-current{font-weight:600;color:#333}.scheda-page .scheda-breadcrumb-sep{color:#ccc;margin:0 2px}.scheda-page .scheda-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px 24px}.scheda-page .scheda-info-grid--tre{grid-template-columns:repeat(3,1fr)}@media(max-width:900px){.scheda-page .scheda-info-grid--tre{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.scheda-page .scheda-info-grid--tre{grid-template-columns:1fr}}.scheda-page .info-item{display:flex;flex-direction:column;gap:4px;min-width:0}.scheda-page .info-item--full{grid-column:1/-1}.scheda-page .info-item .info-label{font-size:11px;color:#888;text-transform:uppercase;letter-spacing:.05em;font-weight:600}.scheda-page .info-item code{font-family:JetBrains Mono,Consolas,monospace;font-size:13px;background:#f4f4f4;padding:2px 8px;border-radius:3px;align-self:flex-start}.scheda-page .info-value{font-size:14px;color:#1a1a1a;display:flex;flex-wrap:wrap;gap:4px;align-items:center;min-width:0;overflow-wrap:anywhere}.scheda-page .info-clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.scheda-page .info-link{color:#0891b2;cursor:pointer;font-weight:500}.scheda-page .info-link:hover{text-decoration:underline}.scheda-page .info-extra{color:#888;font-weight:400;margin-left:4px}.scheda-page .info-muted{color:#999;font-style:italic}.scheda-page .info-hint{font-size:11px;color:#888;margin-top:4px;display:block;line-height:1.4}.scheda-page .hierarchy{display:flex;flex-direction:column;gap:6px;font-size:13px}.scheda-page .hierarchy-row{display:flex;align-items:center;gap:6px;color:#888}.scheda-page .hierarchy-row .material-symbols-outlined{font-size:14px;flex-shrink:0}.scheda-page .hierarchy-name{cursor:pointer}.scheda-page .hierarchy-name:hover{color:#0891b2;text-decoration:underline}.scheda-page .hierarchy-current{color:#1a1a1a;font-weight:500}.scheda-page .hierarchy-current .material-symbols-outlined{color:#0891b2}.scheda-page .hierarchy-name-current{font-weight:500}.scheda-page .hierarchy-sub{font-size:12px;color:#888}.scheda-page .audit-row{display:flex;justify-content:space-between;font-size:13px;padding:6px 0;border-bottom:1px solid #f4f4f4}.scheda-page .audit-row:last-child{border-bottom:none}.scheda-page .audit-row .audit-label{color:#888}.scheda-page .tab-section-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}.scheda-page .tab-section-header h4{margin:0;font-size:13px;font-weight:600;color:#555;text-transform:uppercase;letter-spacing:.04em}.scheda-page .tab-section-actions{display:flex;gap:8px;flex-wrap:wrap}.scheda-page .empty-tab-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;justify-content:center}.scheda-page .rev-hint{display:flex;align-items:center;gap:6px;margin:12px 2px 0;font-size:12px;color:#8a8f98}.scheda-page .rev-hint .material-symbols-outlined{font-size:16px;color:#b0b4ba}.scheda-page .ciclo-head .text-muted{margin:4px 0 0}.scheda-page .stato-da-avviare{background:#eff6ff;color:#2563eb}.scheda-page .stato-attesa{background:#f3f4f6;color:#6b7280}.scheda-page .stepper{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:10px 4px 22px;margin-bottom:6px}.scheda-page .step{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:76px}.scheda-page .step .step-number{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;border:2px solid #d6dade;color:#9aa0a6}.scheda-page .step .step-number .material-symbols-outlined{font-size:20px}.scheda-page .step .step-label{font-size:12px;font-weight:600;color:#6b7280;text-align:center}.scheda-page .step-connector{flex:1 1 24px;min-width:24px;height:2px;background:#e3e5e8;margin:0 2px 22px}.scheda-page .signature-block{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:6px}@media(max-width:640px){.scheda-page .signature-block{grid-template-columns:1fr}}.scheda-page .signature-item{border:1px solid #eceef0;border-radius:9px;padding:13px 14px;background:#fafbfc;display:flex;flex-direction:column;gap:4px}.scheda-page .signature-item .signature-role{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#8a8f98}.scheda-page .signature-item .signature-role .material-symbols-outlined{font-size:15px;color:#aab0b6}.scheda-page .signature-item .signature-name{font-size:14px;font-weight:600;color:#1a1a1a}.scheda-page .signature-item .signature-date{font-size:12px;color:#8a8f98;display:flex;flex-wrap:wrap;align-items:center;gap:2px}.scheda-page .signature-item .signature-status{margin-top:4px}.scheda-page .step.completed .step-number{background:#ecfdf5;border-color:#34d399;color:#047857}.scheda-page .step.completed .step-label{color:#047857}.scheda-page .step.active .step-number{background:#fce8ea;border-color:#9f1019;color:#9f1019;box-shadow:0 0 0 4px #9f10191a}.scheda-page .step.active .step-label{color:#9f1019}.scheda-page .step.rejected .step-number{background:#fef2f2;border-color:#f87171;color:#b91c1c}.scheda-page .step.rejected .step-label{color:#b91c1c}.scheda-page .step-connector.done{background:#34d399}.scheda-page .signature-item.is-current{border-color:#9f1019;background:#fff8f8;box-shadow:0 0 0 1px #9f10191f}.scheda-page .signature-item .sig-by{display:inline-flex;align-items:center;gap:4px;color:#047857;font-weight:600}.scheda-page .signature-item .sig-by .material-symbols-outlined{font-size:15px}.scheda-page .signature-item .sig-comment{font-size:12px;color:#555;font-style:italic;background:#f4f5f6;border-radius:6px;padding:5px 8px}.tq-form .form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media(max-width:700px){.tq-form .form-grid-2{grid-template-columns:1fr}}.tq-form .form-field{display:flex;flex-direction:column;gap:6px}.tq-form .form-field.full{grid-column:1/-1}.tq-form .form-field>label{font-size:12px;font-weight:500;color:#555}.tq-form .form-field>label .req{color:#dc2626;margin-left:2px}.tq-form .form-field>input,.tq-form .form-field>select,.tq-form .form-field>textarea{border:1px solid #d0d0d0;border-radius:6px;padding:8px 10px;font-size:13px;font-family:inherit;outline:none;background:#fff}.tq-form .form-field>input:focus,.tq-form .form-field>select:focus,.tq-form .form-field>textarea:focus{border-color:#0891b2;box-shadow:0 0 0 3px #0891b21a}.tq-form .form-field>input:disabled,.tq-form .form-field>select:disabled,.tq-form .form-field>textarea:disabled{background:#f5f5f5;color:#888;cursor:not-allowed}.tq-form .form-field>textarea{resize:vertical;min-height:70px}.tq-form .form-field>input.invalid,.tq-form .form-field>select.invalid,.tq-form .form-field>textarea.invalid{border-color:#dc2626}.tq-form .form-field>input.invalid:focus,.tq-form .form-field>select.invalid:focus,.tq-form .form-field>textarea.invalid:focus{box-shadow:0 0 0 3px #dc26261a}.tq-form .form-field>.form-input-unita{display:flex;align-items:stretch}.tq-form .form-field>.form-input-unita input{flex:1;min-width:0;border:1px solid #d0d0d0;border-right:0;border-radius:6px 0 0 6px;padding:8px 10px;font-size:13px;font-family:inherit;outline:none;background:#fff}.tq-form .form-field>.form-input-unita input:focus{border-color:#0891b2;box-shadow:0 0 0 3px #0891b21a}.tq-form .form-field>.form-input-unita input.invalid{border-color:#dc2626}.tq-form .form-field>.form-input-unita input:disabled{background:#f5f5f5;color:#888}.tq-form .form-field>.form-input-unita .unita{display:flex;align-items:center;padding:0 10px;border:1px solid #d0d0d0;border-radius:0 6px 6px 0;background:#f7f7f7;color:#555;font-size:12.5px;white-space:nowrap}.tq-form .form-field .field-error{color:#dc2626;font-size:11px;margin-top:2px}.tq-form .form-field-hint{font-size:11px;color:#999}.tq-form .form-field-hint--warn{color:#b45309;font-weight:500}.tq-form .form-field-link{font-size:12px;color:#0891b2;text-decoration:none;display:inline-flex;align-items:center;gap:4px;margin-top:2px}.tq-form .form-field-link .material-symbols-outlined{font-size:14px}.tq-form .form-field-link:hover{text-decoration:underline}.tq-form .form-error-banner{margin-bottom:16px;padding:10px 14px;background:#fdecea;color:#b71c1c;border:1px solid #f8c4be;border-radius:6px;font-size:13px}.tq-form .form-note-banner{display:flex;align-items:center;gap:8px;margin-bottom:16px;padding:10px 14px;background:var(--color-gray-50, #f8f9fa);color:var(--color-text-secondary, #555);border:1px solid var(--color-border, #e0e0e0);border-radius:6px;font-size:13px}.tq-form .form-note-banner .material-symbols-outlined{font-size:18px;color:var(--color-gray-400, #9e9e9e)}.tq-form [form-main],.tq-form [form-side]{display:flex;flex-direction:column}.tq-form [form-main]{gap:16px}.tq-form [form-side]{gap:14px}.tq-form .form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.tq-form [form-main]>.form-actions{margin-top:0}.tq-form .btn{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;border:1px solid transparent;text-decoration:none;white-space:nowrap;transition:background .15s}.tq-form .btn:disabled{opacity:.5;cursor:not-allowed}.tq-form .btn .material-symbols-outlined{font-size:18px}.tq-form .btn-primary{background:#9f1019;color:#fff}.tq-form .btn-primary:hover:not(:disabled){background:#7e0c14}.tq-form .btn-ghost{background:#fff;border-color:#d0d0d0;color:#444}.tq-form .btn-ghost:hover:not(:disabled){background:#f5f5f5}.tq-form .btn-sm{padding:6px 12px;font-size:12px}.tq-form .spin{animation:tq-form-spin .9s linear infinite}@keyframes tq-form-spin{to{transform:rotate(360deg)}}.tq-lista .page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;flex-wrap:wrap}.tq-lista .page-header h1{margin:0 0 6px;font-size:26px;font-weight:600;display:flex;align-items:center;gap:8px}.tq-lista .page-header .subtitle{margin:0;color:#666;font-size:13px;max-width:720px}@media(max-width:768px){.tq-lista .page-header{flex-direction:column;align-items:stretch}}.tq-lista .page-header-actions,.tq-lista .header-actions{display:flex;gap:8px;flex-wrap:wrap}.tq-lista .btn{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;border:1px solid transparent;text-decoration:none;white-space:nowrap;transition:background .15s}.tq-lista .btn:disabled{opacity:.5;cursor:not-allowed}.tq-lista .btn .material-symbols-outlined{font-size:18px}.tq-lista .btn-primary{background:#9f1019;color:#fff}.tq-lista .btn-primary:hover:not(:disabled){background:#7e0c14}.tq-lista .btn-ghost{background:#fff;border-color:#d0d0d0;color:#444}.tq-lista .btn-ghost:hover:not(:disabled){background:#f5f5f5}.tq-lista .btn-secondary{background:#fff;border-color:#d0d0d0;color:#444}.tq-lista .btn-secondary:hover:not(:disabled){background:#f5f5f5}.tq-lista .btn-danger{background:#dc2626;color:#fff}.tq-lista .btn-danger:hover:not(:disabled){background:#b91c1c}.tq-lista .btn-sm{padding:6px 14px;font-size:13px}.tq-lista .btn-lg{padding:11px 20px;font-size:15px}.tq-lista .stat-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-bottom:20px}.tq-lista .stat-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:14px 16px}.tq-lista .stat-card.clickable{cursor:pointer;transition:border-color .15s,box-shadow .15s}.tq-lista .stat-card.clickable:hover{border-color:#67e8f9;box-shadow:0 1px 6px #0891b21a}.tq-lista .stat-card.active{border-color:#0891b2;background:#ecfeff}.tq-lista .stat-card-icon{width:40px;height:40px;flex-shrink:0;border-radius:9px;display:inline-flex;align-items:center;justify-content:center}.tq-lista .stat-card-icon .material-symbols-outlined{font-size:22px}.tq-lista .stat-card-icon.cyan{background:#ecfeff;color:#0891b2}.tq-lista .stat-card-icon.purple{background:#f5f3ff;color:#7c3aed}.tq-lista .stat-card-icon.blue{background:#eff6ff;color:#2563eb}.tq-lista .stat-card-icon.amber{background:#fffbeb;color:#d97706}.tq-lista .stat-card-icon.green{background:#ecfdf5;color:#059669}.tq-lista .stat-card-icon.red{background:#fef2f2;color:#dc2626}.tq-lista .stat-card-icon.gray{background:#f4f4f5;color:#71717a}.tq-lista .stat-card-content{flex:1;min-width:0}.tq-lista .stat-card-value{font-size:22px;font-weight:700;color:#1a1a1a;line-height:1}.tq-lista .stat-card-label{font-size:12.5px;color:#666;margin-top:4px}.tq-lista .stat-card-sub-muted{font-size:11px;color:#999;margin-top:2px;font-style:italic}.tq-lista .stat-card-sub{font-size:11px;color:#888;margin-top:4px}.tq-lista .stat-card-sub strong{color:#16a34a;font-weight:600}.tq-lista .stat-card-sub.warn,.tq-lista .stat-card-sub.warn strong{color:#b45309}.tq-lista .toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.tq-lista .search-input-wrap{position:relative;flex:1;min-width:220px;max-width:360px}.tq-lista .search-input-wrap .material-symbols-outlined{position:absolute;left:10px;top:50%;transform:translateY(-50%);font-size:19px;color:#9ca3af;pointer-events:none}.tq-lista .search-input-wrap input{width:100%;height:36px;box-sizing:border-box;padding:0 10px 0 34px;border:1px solid #d0d0d0;border-radius:6px;font-size:13px;font-family:inherit;outline:none;background:#fff}.tq-lista .search-input-wrap input:focus{border-color:#0891b2;box-shadow:0 0 0 3px #0891b21a}.tq-lista .filter-btn,.tq-lista .toolbar select{height:36px;box-sizing:border-box;padding:0 10px;border:1px solid #d0d0d0;border-radius:6px;font-size:13px;font-family:inherit;background:#fff;color:#444;cursor:pointer;outline:none}.tq-lista .filter-btn:focus,.tq-lista .toolbar select:focus{border-color:#0891b2;box-shadow:0 0 0 3px #0891b21a}.tq-lista .toolbar select{padding-right:28px}.tq-lista .filter-btn{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.tq-lista .filter-btn .material-symbols-outlined{font-size:18px}.tq-lista .toolbar-count{margin-left:auto;font-size:13px;color:#666}.tq-lista .filter-popover-anchor{position:relative}.tq-lista .filter-popover-btn.has-filters{background:#ecfeff;border-color:#67e8f9;color:#155e75}.tq-lista .filter-popover-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#0891b2;color:#fff;font-size:11px;font-weight:600}.tq-lista .filter-popover{position:absolute;top:calc(100% + 6px);left:0;z-index:200;width:340px;background:#fff;border:1px solid #e0e0e0;border-radius:10px;box-shadow:0 8px 24px #0000001f;overflow:hidden}.tq-lista .filter-popover-sezioni{display:grid;grid-template-columns:1fr}.tq-lista .filter-popover-section{padding:12px 14px;border-bottom:1px solid #f0f0f0}.tq-lista .filter-popover-section-title{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;font-weight:600;margin-bottom:8px}.tq-lista .filter-popover-row{display:flex;align-items:center;gap:10px;padding:6px 4px;font-size:13px;cursor:pointer;border-radius:4px;transition:background-color .1s}.tq-lista .filter-popover-row:hover{background:#f9fafb}.tq-lista .filter-popover-row input[type=checkbox]{width:16px;height:16px;accent-color:#0891B2;cursor:pointer}.tq-lista .filter-popover-label{flex:1;min-width:0}.tq-lista .filter-popover-count{font-size:12px;color:#6b7280;font-variant-numeric:tabular-nums}.tq-lista .filter-popover-empty{font-size:12px;color:#9ca3af;font-style:italic;padding:4px}.tq-lista .filter-popover-footer{display:flex;justify-content:flex-end;gap:8px;padding:10px 14px;background:#fafafa}.tq-lista .filter-popover-anchor.due-colonne .filter-popover{width:640px}.tq-lista .filter-popover-anchor.due-colonne .filter-popover-sezioni{grid-template-columns:1fr 1fr}.tq-lista .filter-popover-anchor.due-colonne .filter-popover-section:nth-child(odd):not(:last-child){border-right:1px solid #f0f0f0}.tq-lista .quick-filters{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.tq-lista .qf-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.tq-lista .qf-label{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;font-weight:600}.tq-lista .qf-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border:1px solid #e0e0e0;border-radius:999px;background:#fff;font-size:12.5px;color:#444;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.tq-lista .qf-chip:hover{background:#f5f5f5}.tq-lista .qf-chip.active{background:#ecfeff;border-color:#0891b2;color:#155e75;font-weight:500}.tq-lista .qf-chip .qf-chip-count{background:#0891b2;color:#fff;font-size:11px;padding:1px 6px;border-radius:8px;font-weight:600;font-variant-numeric:tabular-nums}.tq-lista .qf-count{font-size:11px;opacity:.7;font-variant-numeric:tabular-nums}.tq-lista .qf-count.warn{opacity:1;color:#b45309;font-weight:700}.tq-lista .filter-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:14px}.tq-lista .filter-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:#ecfeff;border:1px solid #A5F3FC;color:#155e75;font-size:12px}.tq-lista .filter-chip-x{cursor:pointer;opacity:.6;font-size:15px;line-height:1}.tq-lista .filter-chip-x:hover{opacity:1}.tq-lista .filter-chips-clear{font-size:12px;color:#0e7490;text-decoration:underline;cursor:pointer;background:none;border:none}.tq-lista .filter-chips-clear:hover{color:#155e75}.tq-lista .date-field{display:inline-flex;align-items:center;gap:var(--space-2)}.tq-lista .date-field span{font-size:var(--font-size-xs);color:var(--color-gray-500)}.tq-lista .date-field input[type=date]{height:36px;box-sizing:border-box;padding:0 10px;border:1px solid #d0d0d0;border-radius:6px;font-size:13px;font-family:inherit;background:#fff;color:#444;outline:none}.tq-lista .date-field input[type=date]:focus{border-color:#0891b2;box-shadow:0 0 0 3px #0891b21a}.tq-lista .badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;padding:2px 8px;border-radius:10px;font-weight:500;white-space:nowrap}.tq-lista .badge .material-symbols-outlined{font-size:12px}.tq-lista .badge.ok{background:#dcfce7;color:#16a34a}.tq-lista .badge.warn{background:#fef3c7;color:#b45309}.tq-lista .badge.danger{background:#fee2e2;color:#dc2626}.tq-lista .badge.info{background:#dbeafe;color:#1e40af}.tq-lista .badge.muted{background:#f0f0f0;color:#666}.tq-lista .badge-tipo{font-size:10px;padding:2px 7px;border-radius:3px;font-weight:600;letter-spacing:.4px;text-transform:uppercase}.tq-lista .badge-tipo.singolo{background:#eff6ff;color:#1e40af}.tq-lista .badge-tipo.collettivo{background:#fffbeb;color:#b45309}.tq-lista .table-container{background:#fff;border:1px solid #e0e0e0;border-radius:10px;overflow:hidden;overflow-x:auto}.tq-lista .table-container>.scheda-table thead th:first-child,.tq-lista .table-container>.scheda-table thead th:last-child{border-radius:0}.tq-lista .muted-text{color:#999;font-size:12px;font-style:italic}.tq-lista .muted-text.small{font-size:11px}.tq-lista .text-mono{font-family:JetBrains Mono,Consolas,monospace}.tq-lista .fw-semibold{font-weight:600}.tq-lista .scheda-table td .fw-semibold a,.tq-lista .scheda-table td.fw-semibold a{color:#9f1019;text-decoration:none}.tq-lista .scheda-table td .fw-semibold a:hover,.tq-lista .scheda-table td.fw-semibold a:hover{text-decoration:underline}.tq-cruscotto .page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;flex-wrap:wrap}.tq-cruscotto .page-header-title h1{margin:0;font-size:26px;font-weight:700;color:#1a1a1a}.tq-cruscotto .page-header-title .subtitle{margin:6px 0 0;color:#666;font-size:14px;max-width:720px}.tq-cruscotto .page-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tq-cruscotto .cruscotto-ambito{margin:8px 0 0;font-size:12.5px;color:#6b7280;display:flex;align-items:center;gap:6px}.tq-cruscotto .cruscotto-ambito:empty{display:none}.tq-cruscotto .stat-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-bottom:22px}.tq-cruscotto .stat-card{background:#fff;border:1px solid #e0e0e0;border-radius:10px;padding:16px 18px;display:flex;align-items:center;gap:14px}.tq-cruscotto .stat-card:is(a,button){width:100%;text-align:left;font:inherit;color:inherit;text-decoration:none;appearance:none}.tq-cruscotto .stat-card:is(a,button):focus-visible{outline:2px solid #0891B2;outline-offset:2px}.tq-cruscotto .stat-card.clickable{cursor:pointer;transition:border-color .15s,box-shadow .15s}.tq-cruscotto .stat-card.clickable:hover{border-color:#cbd5e1;box-shadow:0 1px 6px #0000000d}.tq-cruscotto .stat-card.active{border-color:#0891b2;box-shadow:0 0 0 1px #0891b2 inset}.tq-cruscotto .stat-card-icon{width:40px;height:40px;border-radius:10px;flex:0 0 40px;display:inline-flex;align-items:center;justify-content:center}.tq-cruscotto .stat-card-icon .material-symbols-outlined{font-size:21px}.tq-cruscotto .stat-card-icon.cyan{background:#cffafe;color:#0e7490}.tq-cruscotto .stat-card-icon.purple{background:#ede9fe;color:#6d28d9}.tq-cruscotto .stat-card-icon.blue{background:#dbeafe;color:#1d4ed8}.tq-cruscotto .stat-card-icon.amber{background:#fef3c7;color:#92400e}.tq-cruscotto .stat-card-icon.green{background:#dcfce7;color:#166534}.tq-cruscotto .stat-card-icon.red{background:#fee2e2;color:#b91c1c}.tq-cruscotto .stat-card-icon.gray{background:#f3f4f6;color:#4b5563}.tq-cruscotto .stat-card-content{min-width:0}.tq-cruscotto .stat-card-value{font-size:24px;font-weight:700;color:#1a1a1a;line-height:1.1}.tq-cruscotto .stat-card-label{font-size:13px;color:#444;margin-top:2px}.tq-cruscotto .stat-card-sub{font-size:12px;color:#6b7280;margin-top:2px}.tq-cruscotto .stat-card-sub.warn{color:#b45309}.tq-cruscotto .tessere{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:16px}.tq-cruscotto .tessera{background:#fff;border:1px solid #e0e0e0;border-radius:10px;padding:16px 18px;min-width:0;height:380px;display:flex;flex-direction:column}.tq-cruscotto .tessera--larga{grid-column:span 2}@media(max-width:1100px){.tq-cruscotto .tessera--larga{grid-column:span 1}}.tq-cruscotto .tessera>.empty-state,.tq-cruscotto .tessera>.loading-state,.tq-cruscotto .tessera>.error-state{border:none;background:transparent;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.tq-cruscotto .tessera-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.tq-cruscotto .tessera-title{margin:0;font-size:14px;font-weight:700;color:#1a1a1a;display:inline-flex;align-items:center;gap:7px}.tq-cruscotto .tessera-title .material-symbols-outlined{font-size:18px;color:#6b7280}.tq-cruscotto .tessera-hint{margin:-6px 0 12px;font-size:12.5px;color:#6b7280}.tq-cruscotto .tessera-foot{margin-top:12px;padding-top:10px;border-top:1px solid #f0f0f0;font-size:13px}.tq-cruscotto .tessera-foot a{color:#9f1019;text-decoration:none}.tq-cruscotto .tessera-foot a:hover{text-decoration:underline}.tq-cruscotto .copertura-valore{font-size:30px;font-weight:700;color:#1a1a1a;line-height:1}.tq-cruscotto .copertura-sub{font-size:12.5px;color:#6b7280;margin-top:4px}.tq-cruscotto .copertura-barra{height:8px;border-radius:999px;background:#f3f4f6;margin:12px 0 10px;overflow:hidden}.tq-cruscotto .copertura-barra>span{display:block;height:100%;border-radius:999px;background:#0891b2}.tq-cruscotto .copertura-legenda{display:flex;flex-wrap:wrap;gap:14px;font-size:12.5px;color:#4b5563}.tq-cruscotto .copertura-legenda .material-symbols-outlined{font-size:15px;vertical-align:-2px;margin-right:3px}.tq-cruscotto .copertura-legenda .ok{color:#166534}.tq-cruscotto .copertura-legenda .attesa{color:#92400e}.tq-cruscotto .copertura-legenda .scad{color:#b91c1c}.tq-cruscotto .barre{display:flex;flex-direction:column;gap:9px}.tq-cruscotto .barra-riga{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.tq-cruscotto .barra-label{font-size:13px;color:#374151;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tq-cruscotto .barra-valore{font-size:13px;font-weight:700;color:#1a1a1a}.tq-cruscotto .barra-traccia{grid-column:1/-1;height:6px;border-radius:999px;background:#f3f4f6;overflow:hidden}.tq-cruscotto .barra-traccia>span{display:block;height:100%;border-radius:999px;background:#94a3b8}.tq-cruscotto .matrice-scroll{overflow-x:auto}.tq-cruscotto .matrice{width:100%;border-collapse:collapse;font-size:13px}.tq-cruscotto .matrice th,.tq-cruscotto .matrice td{padding:7px 9px;text-align:center;border-bottom:1px solid #f0f0f0}.tq-cruscotto .matrice thead th{font-size:11.5px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.3px;white-space:nowrap;border-bottom:1px solid #e5e7eb}.tq-cruscotto .matrice tbody th{text-align:left;font-weight:600;color:#374151;white-space:nowrap;font-size:12.5px;text-transform:none;letter-spacing:0}.tq-cruscotto .matrice .cella{font-variant-numeric:tabular-nums;font-weight:600;color:#1a1a1a}.tq-cruscotto .matrice .cella-zero{color:#d4d4d8;font-weight:400}.tq-cruscotto .timeline{display:flex;flex-direction:column;gap:11px}.tq-cruscotto .timeline-riga{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start}.tq-cruscotto .timeline-punto{width:8px;height:8px;border-radius:50%;background:#cbd5e1;margin-top:6px}.tq-cruscotto .timeline-testo{min-width:0;font-size:13px;color:#374151}.tq-cruscotto .timeline-meta{font-size:12px;color:#6b7280;margin-top:2px}.tq-cruscotto .tessera-table-scroll,.tq-cruscotto .matrice-scroll,.tq-cruscotto .barre,.tq-cruscotto .timeline{flex:1;min-height:0;overflow:auto}.tq-cruscotto .tessera-table thead th,.tq-cruscotto .matrice thead th{position:sticky;top:0;z-index:2;background:#fff;border-bottom:none;box-shadow:inset 0 -1px #e5e7eb}.tq-cruscotto .matrice tbody th{position:sticky;left:0;z-index:1;background:#fff}.tq-cruscotto .matrice thead th:first-child{left:0;z-index:3}.tq-cruscotto .tessera-table-scroll{overflow-x:auto}.tq-cruscotto .tessera-table{width:100%;border-collapse:collapse;font-size:13px}.tq-cruscotto .tessera-table th{text-align:left;padding:7px 9px;font-size:11.5px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.3px;border-bottom:1px solid #e5e7eb;white-space:nowrap}.tq-cruscotto .tessera-table td{padding:8px 9px;border-bottom:1px solid #f5f5f5;color:#374151;vertical-align:top}.tq-cruscotto .tessera-table tbody tr:last-child td{border-bottom:none}.tq-cruscotto .tessera-table .cell-title{font-weight:600;color:#1a1a1a}.tq-cruscotto .tessera-table .cell-sub{font-size:12px;color:#6b7280;margin-top:1px}.tq-cruscotto .tessera-table .text-mono{font-variant-numeric:tabular-nums;white-space:nowrap}.tq-cruscotto .tessera-table a{color:#9f1019;text-decoration:none}.tq-cruscotto .tessera-table a:hover{text-decoration:underline}.tq-cruscotto .pill{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:999px;font-size:11.5px;font-weight:600;background:#f3f4f6;color:#4b5563;white-space:nowrap}.tq-cruscotto .pill.ok{background:#dcfce7;color:#166534}.tq-cruscotto .pill.warn{background:#fef3c7;color:#92400e}.tq-cruscotto .pill.danger{background:#fee2e2;color:#b91c1c}.tq-cruscotto .pill.info{background:#dbeafe;color:#1d4ed8}.tq-cruscotto .tessera-menu{position:relative;display:inline-flex}.tq-cruscotto .tm-trigger{display:inline-flex;align-items:center;gap:4px;border:1px solid #e0e0e0;background:#fff;border-radius:8px;padding:4px 8px 4px 11px;font:inherit;font-size:12px;color:#4b5563;cursor:pointer;white-space:nowrap}.tq-cruscotto .tm-trigger .material-symbols-outlined{font-size:16px;transition:transform .15s}.tq-cruscotto .tm-trigger:hover{background:#f7f7f8}.tq-cruscotto .tm-trigger.open{border-color:#67e8f9;background:#ecfeff;color:#0e7490}.tq-cruscotto .tm-trigger.open .material-symbols-outlined{transform:rotate(180deg)}.tq-cruscotto .tm-trigger:focus-visible{outline:2px solid #0891B2;outline-offset:2px}.tq-cruscotto .tm-panel{position:absolute;top:calc(100% + 4px);right:0;z-index:20;min-width:140px;padding:4px;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 6px 20px #0000001a;display:flex;flex-direction:column}.tq-cruscotto .tm-voce{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:none;background:none;border-radius:6px;padding:6px 9px;font:inherit;font-size:13px;color:#374151;cursor:pointer;text-align:left;white-space:nowrap}.tq-cruscotto .tm-voce .material-symbols-outlined{font-size:16px;color:#0e7490}.tq-cruscotto .tm-voce:hover{background:#f5f5f5}.tq-cruscotto .tm-voce.active{color:#0e7490;font-weight:600}.tq-cruscotto .tm-voce:focus-visible{outline:2px solid #0891B2;outline-offset:-2px}.tq-impostazioni-hub .hub-header{margin-bottom:var(--space-6)}.tq-impostazioni-hub .settings-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:var(--space-4)}.tq-impostazioni-hub .settings-card{display:flex;gap:var(--space-3);padding:var(--space-4);background:var(--color-bg-card, #fff);border:1px solid var(--color-border, #e5e7eb);border-radius:var(--radius-lg);text-decoration:none;color:inherit;transition:all .15s ease;position:relative}.tq-impostazioni-hub .settings-card:hover:not(.disabled){border-color:var(--color-primary-600, #9F1019);box-shadow:0 4px 12px #9f101914;transform:translateY(-1px)}.tq-impostazioni-hub .settings-card.disabled{opacity:.6;cursor:default}.tq-impostazioni-hub .settings-card .settings-card-icon{flex-shrink:0;width:44px;height:44px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center}.tq-impostazioni-hub .settings-card .settings-card-icon .material-symbols-outlined{font-size:24px}.tq-impostazioni-hub .settings-card .settings-card-body{flex:1;min-width:0;padding-right:var(--space-4)}.tq-impostazioni-hub .settings-card .settings-card-title{margin:0 0 4px;font-size:15px;font-weight:700;color:var(--color-gray-900)}.tq-impostazioni-hub .settings-card .settings-card-desc{margin:0;font-size:12.5px;line-height:1.5;color:var(--color-gray-700)}.tq-impostazioni-hub .settings-card .settings-card-desc code{font-family:var(--font-family-mono);font-size:11px;background:var(--color-bg-subtle, #f9fafb);padding:1px 4px;border-radius:3px}.tq-impostazioni-hub .settings-card .settings-card-meta{display:flex;flex-wrap:wrap;gap:var(--space-4);margin-top:var(--space-3);font-size:11.5px;color:var(--color-gray-500)}.tq-impostazioni-hub .settings-card .settings-card-meta span{display:inline-flex;align-items:center;gap:4px}.tq-impostazioni-hub .settings-card .settings-card-meta .material-symbols-outlined{font-size:14px;vertical-align:middle}.tq-impostazioni-hub .settings-card .settings-card-arrow{position:absolute;top:50%;right:var(--space-3);transform:translateY(-50%);color:var(--color-gray-400);font-size:20px}.tq-impostazioni-hub .settings-card .coming-soon{margin-top:var(--space-3)}.tq-impostazioni-hub .hub-icona--viola{background:#7c3aed1a;color:#6d28d9}.tq-impostazioni-hub .hub-icona--blu{background:#2563eb1a;color:#2563eb}.tq-impostazioni-hub .hub-icona--ciano{background:#0891b21a;color:#0e7490}.tq-impostazioni-hub .hub-icona--ambra{background:#f59e0b1a;color:#b45309}.tq-impostazioni-hub .hub-icona--verde{background:#10b9811a;color:#047857}.tq-impostazioni-hub .hub-icona--rosso{background:#ef44441a;color:#dc2626}.tq-impostazioni-hub .hub-icona--teal{background:#06b6d41a;color:#0891b2}.tq-impostazioni-hub .info-alert{display:flex;gap:var(--space-3);padding:var(--space-3) var(--space-4);margin-top:var(--space-6);background:#2563eb0f;border-left:4px solid #2563EB;border-radius:var(--radius-md);font-size:13px;color:var(--color-gray-700);line-height:1.5}.tq-impostazioni-hub .info-alert .material-symbols-outlined{color:#2563eb;font-size:22px;flex-shrink:0}.tq-impostazioni-hub .info-alert strong{color:var(--color-gray-900)}.tq-impostazioni-hub .badge-fatta{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:10px;background:#dcfce7;color:#047857;font-size:11px;font-weight:600;vertical-align:middle;display:inline-flex;align-items:center;gap:4px}.tq-impostazioni-hub .badge-fatta .material-symbols-outlined{font-size:13px}.tq-impostazioni-hub button.settings-card{width:100%;text-align:left;font:inherit;cursor:pointer}.tq-impostazioni-hub .hub-header.con-back{display:flex;align-items:flex-start;gap:var(--space-3)}.tq-albero{background:#fff;border:1px solid #e8e8e8;border-radius:10px;display:flex;flex-direction:column;overflow:hidden}.tq-albero .albero-header{padding:14px 18px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;justify-content:space-between;gap:8px}.tq-albero .albero-header h3{margin:0;font-size:13px;font-weight:600;color:#444;text-transform:uppercase;letter-spacing:.05em}.tq-albero .albero-header-azioni{display:inline-flex;align-items:center;gap:6px}.tq-albero .albero-toggle-tutti{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#6b7280;cursor:pointer;transition:all .15s ease}.tq-albero .albero-toggle-tutti:hover{border-color:var(--color-primary-500, #9F1019);color:var(--color-primary-500, #9F1019);background:var(--color-primary-50, #FBF0F1)}.tq-albero .albero-toggle-tutti .material-symbols-outlined{font-size:18px}.tq-albero .albero-ricerca{display:flex;align-items:center;gap:6px;padding:10px 14px;border-bottom:1px solid #f0f0f0}.tq-albero .albero-ricerca .material-symbols-outlined{font-size:18px;color:#999}.tq-albero .albero-ricerca input{flex:1;border:none;outline:none;font-size:13px;background:transparent}.tq-albero .albero-lista{list-style:none;margin:0;padding:6px 0;flex:1;overflow-y:auto}.tq-albero .albero-riga{display:flex;align-items:center;gap:6px;padding:7px 8px;cursor:pointer;font-size:13.5px;color:#333;-webkit-user-select:none;user-select:none;transition:background .1s}.tq-albero .albero-riga:hover{background:#f8f8f8}.tq-albero .albero-riga.selected{background:#ecfeff;color:#0e7490;font-weight:500}.tq-albero .albero-toggle,.tq-albero .albero-toggle-spazio{width:18px;height:18px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}.tq-albero .albero-toggle{border:none;background:transparent;padding:0;cursor:pointer;border-radius:3px}.tq-albero .albero-toggle .material-symbols-outlined{font-size:16px;color:#888}.tq-albero .albero-toggle:hover{background:#eaeaea}.tq-albero .albero-prima{display:inline-flex;align-items:center;flex-shrink:0}.tq-albero .albero-icona{font-size:18px;color:#0891b2;flex-shrink:0}.tq-albero .albero-riga.selected .albero-icona{color:#0e7490}.tq-albero .albero-riga.attenuata:not(.selected)>:not(.albero-toggle){opacity:.45}.tq-albero .albero-riga.contesto.selected>:not(.albero-toggle){opacity:.45}.tq-albero .albero-etichetta{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tq-albero .albero-altri{color:#0891b2;font-size:12.5px}.tq-albero .albero-altri .material-symbols-outlined{font-size:16px}.tq-albero .albero-altri:hover{background:#ecfeff}.tq-albero .albero-gira{animation:albero-gira .9s linear infinite}.tq-albero .albero-contatore{font-size:11px;color:#9ca3af;background:#f3f4f6;padding:1px 8px;border-radius:999px;font-weight:500;flex-shrink:0}.tq-albero .albero-vuoto{padding:40px 20px;text-align:center;color:#888}.tq-albero .albero-vuoto p{margin:0 0 14px;font-size:14px}.albero-split{display:grid;grid-template-columns:320px 1fr;gap:20px;min-height:480px}@media(max-width:900px){.albero-split{grid-template-columns:1fr}}.albero-split.albero-split--largo{grid-template-columns:minmax(0,1fr) 400px}.albero-split.albero-split--largo .albero-dettaglio-grid{grid-template-columns:1fr}@media(max-width:900px){.albero-split.albero-split--largo{grid-template-columns:1fr}}.albero-dettaglio{background:#fff;border:1px solid #e8e8e8;border-radius:10px;padding:24px 28px;overflow-y:auto}.albero-dettaglio-vuoto{text-align:center;padding:80px 20px;color:#999}.albero-dettaglio-vuoto .material-symbols-outlined{font-size:56px;opacity:.3;display:block;margin-bottom:12px}.albero-dettaglio-vuoto p{margin:0;font-size:14px}.albero-percorso{display:flex;align-items:center;gap:4px;font-size:12px;color:#888;margin-bottom:8px;flex-wrap:wrap}.albero-percorso-voce.current{color:#333;font-weight:500}.albero-percorso-sep{color:#ccc}.albero-dettaglio-titolo{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;flex-wrap:wrap}.albero-dettaglio-titolo h2{margin:4px 0 0;font-size:22px;font-weight:600}.albero-dettaglio-azioni{display:flex;gap:6px;flex-wrap:wrap}.albero-dettaglio-grid{display:grid;grid-template-columns:1fr 280px;gap:16px}@media(max-width:900px){.albero-dettaglio-grid{grid-template-columns:1fr}}.albero-card{background:#fff;border:1px solid #e8e8e8;border-radius:10px;padding:18px 20px}.albero-card-titolo{font-size:12.5px;font-weight:600;color:#1a1a1a;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;gap:6px}.albero-card-titolo .material-symbols-outlined{font-size:16px;color:#0891b2}.albero-campi{display:flex;flex-direction:column;gap:8px}.albero-riga-campo{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:6px 0;font-size:12.5px;border-bottom:1px solid #f5f5f5}.albero-riga-campo:last-child{border-bottom:none}.albero-riga-campo.albero-riga-campo--full{flex-direction:column;align-items:stretch;gap:4px}.albero-riga-campo .albero-campo-label{color:#888;flex-shrink:0}.albero-riga-campo .albero-campo-valore{color:#1a1a1a;font-weight:500;text-align:right}.albero-riga-campo--full .albero-riga-campo .albero-campo-valore{text-align:left;font-weight:400;line-height:1.5}.albero-riga-campo .albero-campo-valore .link{color:#0891b2;cursor:pointer}.albero-riga-campo .albero-campo-valore .link:hover{text-decoration:underline}.albero-riga-campo .albero-campo-valore .muted{color:#bbb}.albero-figli{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.albero-figlio{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;cursor:pointer;transition:background .1s}.albero-figlio:hover{background:#f8f8f8}.albero-figlio>.material-symbols-outlined:first-child{color:#0891b2;font-size:20px}.albero-figlio .chevron{color:#ccc;font-size:18px;margin-left:auto}.albero-figlio-nome{font-size:14px;font-weight:500;color:#1a1a1a}.albero-figlio-meta{font-size:12px;color:#888;margin-top:2px}@keyframes albero-gira{to{transform:rotate(360deg)}}.tq-lista .icon-btn,.tq-cruscotto .icon-btn{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e0e0e0;border-radius:6px;background:#fff;color:#555;cursor:pointer;text-decoration:none;transition:background .15s,border-color .15s,color .15s}.tq-lista .icon-btn .material-symbols-outlined,.tq-cruscotto .icon-btn .material-symbols-outlined{font-size:17px}.tq-lista .icon-btn:hover:not(:disabled),.tq-cruscotto .icon-btn:hover:not(:disabled){background:#f5f5f5;border-color:#d0d0d0}.tq-lista .icon-btn:disabled,.tq-cruscotto .icon-btn:disabled{opacity:.4;cursor:not-allowed}.tq-lista .icon-btn.icon-btn-danger:hover:not(:disabled),.tq-cruscotto .icon-btn.icon-btn-danger:hover:not(:disabled){background:#fef2f2;border-color:#fca5a5;color:#b91c1c}.tq-lista .icon-btn.act-view:hover:not(:disabled),.tq-cruscotto .icon-btn.act-view:hover:not(:disabled){color:#2563eb;border-color:#bfdbfe}.tq-lista .icon-btn.act-download:hover:not(:disabled),.tq-cruscotto .icon-btn.act-download:hover:not(:disabled){color:#047857;border-color:#a7f3d0}.tq-lista .icon-btn.act-edit:hover:not(:disabled),.tq-cruscotto .icon-btn.act-edit:hover:not(:disabled){color:#9f1019;border-color:#f0c2c6}.tq-lista .icon-btn.act-delete:hover:not(:disabled),.tq-cruscotto .icon-btn.act-delete:hover:not(:disabled){background:#fef2f2;border-color:#fca5a5;color:#b91c1c}.tq-lista .col-actions,.tq-cruscotto .col-actions{text-align:right;white-space:nowrap}.tq-lista .col-actions .icon-btn+.icon-btn,.tq-cruscotto .col-actions .icon-btn+.icon-btn{margin-left:4px}.back-btn{width:40px;height:40px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e0e0e0;border-radius:8px;background:#fff;color:#444;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.back-btn:hover{background:#f5f5f5;border-color:#d0d0d0;color:#1a1a1a}.back-btn--sm{width:34px;height:34px}.page-header-title{flex:1;min-width:0}.page-header-title h1{margin:0 0 6px;font-size:26px;font-weight:600;display:flex;align-items:center;gap:8px}.page-header-title .subtitle{margin:0;color:#666;font-size:13px;max-width:720px}.tq-lista .loading-state,.tq-lista .error-state,.tq-lista .empty-state,.scheda-page .loading-state,.scheda-page .error-state,.scheda-page .empty-state,.tq-form .loading-state,.tq-form .error-state,.tq-form .empty-state,.tq-cruscotto .loading-state,.tq-cruscotto .error-state,.tq-cruscotto .empty-state,.tq-impostazioni-hub .loading-state,.tq-impostazioni-hub .error-state,.tq-impostazioni-hub .empty-state{padding:32px 20px;text-align:center;font-size:13.5px;color:#888;background:#fff;border:1px solid #e0e0e0;border-radius:10px}.tq-lista .error-state,.scheda-page .error-state,.tq-form .error-state,.tq-cruscotto .error-state,.tq-impostazioni-hub .error-state{color:#b00020;border-color:#f0c0c0;background:#fdecea}.tq-lista .empty-state>.material-symbols-outlined,.scheda-page .empty-state>.material-symbols-outlined,.tq-form .empty-state>.material-symbols-outlined,.tq-cruscotto .empty-state>.material-symbols-outlined,.tq-impostazioni-hub .empty-state>.material-symbols-outlined{font-size:48px;opacity:.3;display:block;margin:0 auto 12px}.tq-lista .empty-state strong,.tq-lista .empty-state h3,.tq-lista .empty-state .es-title,.scheda-page .empty-state strong,.scheda-page .empty-state h3,.scheda-page .empty-state .es-title,.tq-form .empty-state strong,.tq-form .empty-state h3,.tq-form .empty-state .es-title,.tq-cruscotto .empty-state strong,.tq-cruscotto .empty-state h3,.tq-cruscotto .empty-state .es-title,.tq-impostazioni-hub .empty-state strong,.tq-impostazioni-hub .empty-state h3,.tq-impostazioni-hub .empty-state .es-title{display:block;font-size:15px;font-weight:600;color:#1a1a1a;margin:0 0 4px}.tq-lista .empty-state p,.scheda-page .empty-state p,.tq-form .empty-state p,.tq-cruscotto .empty-state p,.tq-impostazioni-hub .empty-state p{margin:0;font-size:13.5px;color:#777}.tq-lista .empty-state .btn,.scheda-page .empty-state .btn,.tq-form .empty-state .btn,.tq-cruscotto .empty-state .btn,.tq-impostazioni-hub .empty-state .btn{margin-top:16px}.tq-lista .table-container>.loading-state,.tq-lista .table-container>.error-state,.tq-lista .table-container>.empty-state,.tq-lista .scheda-table-wrap>.loading-state,.tq-lista .scheda-table-wrap>.empty-state,.scheda-page .table-container>.loading-state,.scheda-page .table-container>.error-state,.scheda-page .table-container>.empty-state,.scheda-page .scheda-table-wrap>.loading-state,.scheda-page .scheda-table-wrap>.empty-state,.tq-form .table-container>.loading-state,.tq-form .table-container>.error-state,.tq-form .table-container>.empty-state,.tq-form .scheda-table-wrap>.loading-state,.tq-form .scheda-table-wrap>.empty-state,.tq-cruscotto .table-container>.loading-state,.tq-cruscotto .table-container>.error-state,.tq-cruscotto .table-container>.empty-state,.tq-cruscotto .scheda-table-wrap>.loading-state,.tq-cruscotto .scheda-table-wrap>.empty-state,.tq-impostazioni-hub .table-container>.loading-state,.tq-impostazioni-hub .table-container>.error-state,.tq-impostazioni-hub .table-container>.empty-state,.tq-impostazioni-hub .scheda-table-wrap>.loading-state,.tq-impostazioni-hub .scheda-table-wrap>.empty-state{border:none;border-radius:0;background:transparent}.tq-lista .table-container>.error-state,.scheda-page .table-container>.error-state,.tq-form .table-container>.error-state,.tq-cruscotto .table-container>.error-state,.tq-impostazioni-hub .table-container>.error-state{background:#fdecea}.tq-lista .status-badge,.scheda-page .status-badge,.tq-form .status-badge,.tq-cruscotto .status-badge,.tq-impostazioni-hub .status-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:12px;font-size:12px;font-weight:600;white-space:nowrap}.tq-lista .status-badge .material-symbols-outlined,.scheda-page .status-badge .material-symbols-outlined,.tq-form .status-badge .material-symbols-outlined,.tq-cruscotto .status-badge .material-symbols-outlined,.tq-impostazioni-hub .status-badge .material-symbols-outlined{font-size:14px}.tq-lista .status-badge.status-attiva,.tq-lista .status-badge.status-ok,.scheda-page .status-badge.status-attiva,.scheda-page .status-badge.status-ok,.tq-form .status-badge.status-attiva,.tq-form .status-badge.status-ok,.tq-cruscotto .status-badge.status-attiva,.tq-cruscotto .status-badge.status-ok,.tq-impostazioni-hub .status-badge.status-attiva,.tq-impostazioni-hub .status-badge.status-ok{background:#dcfce7;color:#166534}.tq-lista .status-badge.status-inattiva,.tq-lista .status-badge.status-neutral,.scheda-page .status-badge.status-inattiva,.scheda-page .status-badge.status-neutral,.tq-form .status-badge.status-inattiva,.tq-form .status-badge.status-neutral,.tq-cruscotto .status-badge.status-inattiva,.tq-cruscotto .status-badge.status-neutral,.tq-impostazioni-hub .status-badge.status-inattiva,.tq-impostazioni-hub .status-badge.status-neutral{background:#f0f0f0;color:#757575}.tq-lista .status-badge.status-warn,.scheda-page .status-badge.status-warn,.tq-form .status-badge.status-warn,.tq-cruscotto .status-badge.status-warn,.tq-impostazioni-hub .status-badge.status-warn{background:#fef3c7;color:#92400e}.tq-lista .status-badge.status-deroga,.scheda-page .status-badge.status-deroga,.tq-form .status-badge.status-deroga,.tq-cruscotto .status-badge.status-deroga,.tq-impostazioni-hub .status-badge.status-deroga{background:#ffedd5;color:#9a3412}.tq-lista .status-badge.status-danger,.scheda-page .status-badge.status-danger,.tq-form .status-badge.status-danger,.tq-cruscotto .status-badge.status-danger,.tq-impostazioni-hub .status-badge.status-danger{background:#fee2e2;color:#991b1b}.tq-lista .coming-soon,.scheda-page .coming-soon,.tq-form .coming-soon,.tq-cruscotto .coming-soon,.tq-impostazioni-hub .coming-soon{display:inline-block;font-size:10px;font-weight:700;padding:2px 8px;border-radius:var(--radius-full);background:var(--color-warning-100);color:var(--color-warning-600);text-transform:uppercase;letter-spacing:.04em}.tq-lista .empty-tab,.scheda-page .empty-tab,.tq-form .empty-tab,.tq-cruscotto .empty-tab,.tq-impostazioni-hub .empty-tab{text-align:center;padding:60px 20px;color:#999}.tq-lista .empty-tab .material-symbols-outlined,.scheda-page .empty-tab .material-symbols-outlined,.tq-form .empty-tab .material-symbols-outlined,.tq-cruscotto .empty-tab .material-symbols-outlined,.tq-impostazioni-hub .empty-tab .material-symbols-outlined{font-size:56px;opacity:.3;display:block;margin-bottom:12px}.tq-lista .empty-tab p,.scheda-page .empty-tab p,.tq-form .empty-tab p,.tq-cruscotto .empty-tab p,.tq-impostazioni-hub .empty-tab p{margin:0;font-size:14px}.tq-lista .empty-tab-inline,.scheda-page .empty-tab-inline,.tq-form .empty-tab-inline,.tq-cruscotto .empty-tab-inline,.tq-impostazioni-hub .empty-tab-inline{padding:18px;background:#fafafa;border-radius:8px;border:1px dashed #d8d8d8;text-align:center;color:#666}.tq-lista .empty-tab-inline p,.scheda-page .empty-tab-inline p,.tq-form .empty-tab-inline p,.tq-cruscotto .empty-tab-inline p,.tq-impostazioni-hub .empty-tab-inline p{margin:0;font-size:13px}.tq-lista .btn-danger-outline,.scheda-page .btn-danger-outline,.tq-form .btn-danger-outline,.tq-cruscotto .btn-danger-outline,.tq-impostazioni-hub .btn-danger-outline{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;border:1px solid #FCA5A5;background:#fff;color:#b91c1c}.tq-lista .btn-danger-outline:hover,.scheda-page .btn-danger-outline:hover,.tq-form .btn-danger-outline:hover,.tq-cruscotto .btn-danger-outline:hover,.tq-impostazioni-hub .btn-danger-outline:hover{background:#fee2e2}.tq-lista .btn-danger-outline .material-symbols-outlined,.scheda-page .btn-danger-outline .material-symbols-outlined,.tq-form .btn-danger-outline .material-symbols-outlined,.tq-cruscotto .btn-danger-outline .material-symbols-outlined,.tq-impostazioni-hub .btn-danger-outline .material-symbols-outlined{font-size:16px}.tq-lista .person-chips,.scheda-page .person-chips,.tq-form .person-chips,.tq-cruscotto .person-chips{display:flex;gap:4px;flex-wrap:wrap;align-items:center}.tq-lista .person-chip,.scheda-page .person-chip,.tq-form .person-chip,.tq-cruscotto .person-chip{display:inline-flex;align-items:center;gap:6px;background:#f5f5f5;border:1px solid #e0e0e0;border-radius:14px;padding:3px 10px 3px 4px;font-size:12px;color:#333}.tq-lista .person-chip.suspended,.scheda-page .person-chip.suspended,.tq-form .person-chip.suspended,.tq-cruscotto .person-chip.suspended{opacity:.6}.tq-lista .person-avatar-xs,.tq-lista .person-avatar-md,.scheda-page .person-avatar-xs,.scheda-page .person-avatar-md,.tq-form .person-avatar-xs,.tq-form .person-avatar-md,.tq-cruscotto .person-avatar-xs,.tq-cruscotto .person-avatar-md{border-radius:50%;background:#dbeafe;color:#1e40af;display:inline-flex;align-items:center;justify-content:center;font-weight:600;flex-shrink:0}.tq-lista .person-avatar-xs.no-user,.tq-lista .person-avatar-md.no-user,.scheda-page .person-avatar-xs.no-user,.scheda-page .person-avatar-md.no-user,.tq-form .person-avatar-xs.no-user,.tq-form .person-avatar-md.no-user,.tq-cruscotto .person-avatar-xs.no-user,.tq-cruscotto .person-avatar-md.no-user{background:#f0f0f0;color:#666}.tq-lista .person-avatar-xs.suspended,.tq-lista .person-avatar-md.suspended,.scheda-page .person-avatar-xs.suspended,.scheda-page .person-avatar-md.suspended,.tq-form .person-avatar-xs.suspended,.tq-form .person-avatar-md.suspended,.tq-cruscotto .person-avatar-xs.suspended,.tq-cruscotto .person-avatar-md.suspended{background:#fee2e2;color:#b91c1c}.tq-lista .person-avatar-xs,.scheda-page .person-avatar-xs,.tq-form .person-avatar-xs,.tq-cruscotto .person-avatar-xs{width:22px;height:22px;font-size:10px}.tq-lista .person-avatar-md,.scheda-page .person-avatar-md,.tq-form .person-avatar-md,.tq-cruscotto .person-avatar-md{width:32px;height:32px;font-size:11px}.tq-lista .person-cell,.scheda-page .person-cell,.tq-form .person-cell,.tq-cruscotto .person-cell{display:flex;align-items:center;gap:10px;min-width:220px}.tq-lista .module-dots,.scheda-page .module-dots,.tq-form .module-dots,.tq-cruscotto .module-dots{display:inline-flex;align-items:center;gap:4px}.tq-lista .module-dot-lg,.scheda-page .module-dot-lg,.tq-form .module-dot-lg,.tq-cruscotto .module-dot-lg{width:12px;height:12px;border-radius:50%;background:var(--mod-color, #6b7280);border:1.5px solid #fff;box-shadow:0 0 0 1px #0000001a}.tq-lista .module-dot-lg.disabled,.scheda-page .module-dot-lg.disabled,.tq-form .module-dot-lg.disabled,.tq-cruscotto .module-dot-lg.disabled{opacity:.25}.tq-lista .module-dot-sm,.scheda-page .module-dot-sm,.tq-form .module-dot-sm,.tq-cruscotto .module-dot-sm{width:10px;height:10px;border-radius:50%;background:var(--mod-color, #6b7280)}.tq-lista .tq-toast,.scheda-page .tq-toast,.tq-form .tq-toast,.tq-cruscotto .tq-toast,.tq-avvisi-app .tq-toast{position:fixed;bottom:24px;right:24px;z-index:1000;padding:12px 18px;border-radius:8px;font-size:13px;max-width:360px;box-shadow:0 8px 24px #00000026;animation:tq-toast-in .2s}.tq-lista .tq-toast.toast-success,.scheda-page .tq-toast.toast-success,.tq-form .tq-toast.toast-success,.tq-cruscotto .tq-toast.toast-success,.tq-avvisi-app .tq-toast.toast-success{background:#ecfdf5;border:1px solid #A7F3D0;color:#065f46}.tq-lista .tq-toast.toast-warn,.scheda-page .tq-toast.toast-warn,.tq-form .tq-toast.toast-warn,.tq-cruscotto .tq-toast.toast-warn,.tq-avvisi-app .tq-toast.toast-warn{background:#fffbeb;border:1px solid #FDE68A;color:#92400e}.tq-lista .tq-toast.toast-error,.scheda-page .tq-toast.toast-error,.tq-form .tq-toast.toast-error,.tq-cruscotto .tq-toast.toast-error,.tq-avvisi-app .tq-toast.toast-error{background:#fee2e2;border:1px solid #FCA5A5;color:#991b1b}@keyframes tq-toast-in{0%{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}body.tq-operazione-in-corso{cursor:progress}body.tq-operazione-in-corso :where(button,[role=button],input[type=button],input[type=submit],input[type=checkbox],input[type=radio]):not(.tq-comando-in-corso){opacity:.55;cursor:progress}body.tq-operazione-in-corso app-confirm-dialog :is(button,[role=button]){opacity:1;cursor:pointer}.tq-comando-in-corso{cursor:progress}.tq-comando-in-corso:after{content:"";display:inline-block;width:12px;height:12px;margin-left:8px;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:tq-comando-gira .7s linear infinite}@keyframes tq-comando-gira{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.tq-comando-in-corso:after{animation:none;border-right-color:currentColor;opacity:.6}}
