.driver-popover{all:unset;font-family:var(--driver-popover-font-family, "Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration, .4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration, .4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}html{--mat-sys-background: light-dark(#faf9fd, #121316);--mat-sys-error: light-dark(#ba1a1a, #ffb4ab);--mat-sys-error-container: light-dark(#ffdad6, #93000a);--mat-sys-inverse-on-surface: light-dark(#f2f0f4, #2f3033);--mat-sys-inverse-primary: light-dark(#abc7ff, #005cbb);--mat-sys-inverse-surface: light-dark(#2f3033, #e3e2e6);--mat-sys-on-background: light-dark(#1a1b1f, #e3e2e6);--mat-sys-on-error: light-dark(#ffffff, #690005);--mat-sys-on-error-container: light-dark(#93000a, #ffdad6);--mat-sys-on-primary: light-dark(#ffffff, #002f65);--mat-sys-on-primary-container: light-dark(#00458f, #d7e3ff);--mat-sys-on-primary-fixed: light-dark(#001b3f, #001b3f);--mat-sys-on-primary-fixed-variant: light-dark(#00458f, #00458f);--mat-sys-on-secondary: light-dark(#ffffff, #283041);--mat-sys-on-secondary-container: light-dark(#3e4759, #dae2f9);--mat-sys-on-secondary-fixed: light-dark(#131c2b, #131c2b);--mat-sys-on-secondary-fixed-variant: light-dark(#3e4759, #3e4759);--mat-sys-on-surface: light-dark(#1a1b1f, #e3e2e6);--mat-sys-on-surface-variant: light-dark(#44474e, #e0e2ec);--mat-sys-on-tertiary: light-dark(#ffffff, #002f65);--mat-sys-on-tertiary-container: light-dark(#00458f, #d7e3ff);--mat-sys-on-tertiary-fixed: light-dark(#001b3f, #001b3f);--mat-sys-on-tertiary-fixed-variant: light-dark(#00458f, #00458f);--mat-sys-outline: light-dark(#74777f, #8e9099);--mat-sys-outline-variant: light-dark(#c4c6d0, #44474e);--mat-sys-primary: light-dark(#005cbb, #abc7ff);--mat-sys-primary-container: light-dark(#d7e3ff, #00458f);--mat-sys-primary-fixed: light-dark(#d7e3ff, #d7e3ff);--mat-sys-primary-fixed-dim: light-dark(#abc7ff, #abc7ff);--mat-sys-scrim: light-dark(#000000, #000000);--mat-sys-secondary: light-dark(#565e71, #bec6dc);--mat-sys-secondary-container: light-dark(#dae2f9, #3e4759);--mat-sys-secondary-fixed: light-dark(#dae2f9, #dae2f9);--mat-sys-secondary-fixed-dim: light-dark(#bec6dc, #bec6dc);--mat-sys-shadow: light-dark(#000000, #000000);--mat-sys-surface: light-dark(#faf9fd, #121316);--mat-sys-surface-bright: light-dark(#faf9fd, #38393c);--mat-sys-surface-container: light-dark(#efedf0, #1f2022);--mat-sys-surface-container-high: light-dark(#e9e7eb, #292a2c);--mat-sys-surface-container-highest: light-dark(#e3e2e6, #343537);--mat-sys-surface-container-low: light-dark(#f4f3f6, #1a1b1f);--mat-sys-surface-container-lowest: light-dark(#ffffff, #0d0e11);--mat-sys-surface-dim: light-dark(#dbd9dd, #121316);--mat-sys-surface-tint: light-dark(#005cbb, #abc7ff);--mat-sys-surface-variant: light-dark(#e0e2ec, #44474e);--mat-sys-tertiary: light-dark(#005cbb, #abc7ff);--mat-sys-tertiary-container: light-dark(#d7e3ff, #00458f);--mat-sys-tertiary-fixed: light-dark(#d7e3ff, #d7e3ff);--mat-sys-tertiary-fixed-dim: light-dark(#abc7ff, #abc7ff);--mat-sys-neutral-variant20: #2d3038;--mat-sys-neutral10: #1a1b1f;--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-sys-body-large: 400 1rem / 1.5rem Lato;--mat-sys-body-large-font: Lato;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: .031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 .875rem / 1.25rem Lato;--mat-sys-body-medium-font: Lato;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: .875rem;--mat-sys-body-medium-tracking: .016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 .75rem / 1rem Lato;--mat-sys-body-small-font: Lato;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: .75rem;--mat-sys-body-small-tracking: .025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem Lato;--mat-sys-display-large-font: Lato;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem Lato;--mat-sys-display-medium-font: Lato;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem Lato;--mat-sys-display-small-font: Lato;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem Lato;--mat-sys-headline-large-font: Lato;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem Lato;--mat-sys-headline-medium-font: Lato;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem Lato;--mat-sys-headline-small-font: Lato;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 .875rem / 1.25rem Lato;--mat-sys-label-large-font: Lato;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: .875rem;--mat-sys-label-large-tracking: .006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 .75rem / 1rem Lato;--mat-sys-label-medium-font: Lato;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: .75rem;--mat-sys-label-medium-tracking: .031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 .688rem / 1rem Lato;--mat-sys-label-small-font: Lato;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: .688rem;--mat-sys-label-small-tracking: .031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem Lato;--mat-sys-title-large-font: Lato;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem Lato;--mat-sys-title-medium-font: Lato;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: .009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 .875rem / 1.25rem Lato;--mat-sys-title-small-font: Lato;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: .875rem;--mat-sys-title-small-tracking: .006rem;--mat-sys-title-small-weight: 500;--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px;--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12}:root{--mat-sys-primary: #1474bd;--mat-sys-on-primary: #ffffff;--crm-primary: #1474bd;--crm-primary-dark: #0d5a9c;--crm-primary-light: #deeef8;--crm-bg: #f9f9f9;--crm-card-bg: #ffffff;--crm-sidebar-bg: #ffffff;--crm-sidebar-width: 240px;--crm-topbar-height: 56px;--crm-border: #dddddd;--crm-border-strong: #cfd4d9;--crm-table-head: #3d4d59;--crm-text-primary: #1a202c;--crm-text-secondary: #5a6470;--crm-surface-variant: #f8fafc;--crm-hover-bg: rgba(0, 0, 0, .04);--crm-shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);--crm-shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);--crm-radius: 8px;--crm-success: #15803d;--crm-success-bg: #dcfce7;--crm-warning: #b45309;--crm-warning-bg: #fef3c7;--crm-danger: #b91c1c;--crm-danger-bg: #fee2e2;--crm-info: #1d4ed8;--crm-info-bg: #dbeafe;--crm-neutral: #475569;--crm-neutral-bg: #dddddd;--crm-nota-bg: #fef3c7;--crm-nota-border: #fbbf24;--crm-nota-text: #92400e;--crm-whatsapp: #128C7E;--crm-whatsapp-bg: rgba(37, 211, 102, .12);--crm-whatsapp-hover: #0e7566;--crm-stato-lead: #1565c0;--crm-stato-lead-bg: #e3f2fd;--crm-stato-contatto: #2e7d32;--crm-stato-contatto-bg:#e8f5e9;--crm-stato-trattativa: #e65100;--crm-stato-trattativa-bg:#fff3e0;--crm-stato-cliente: #00695c;--crm-stato-cliente-bg: #e0f7fa;--crm-stato-inattivo: #616161;--crm-stato-inattivo-bg:#f5f5f5;--crm-stato-perso: #b71c1c;--crm-stato-perso-bg: #fce4ec;--crm-fase-qualifica: #283593;--crm-fase-qualifica-bg: #e8eaf6;--crm-fase-proposta: #1565c0;--crm-fase-proposta-bg: #e3f2fd;--crm-fase-negoziazione: #e65100;--crm-fase-negoziazione-bg:#fff3e0;--crm-fase-vinta: #2e7d32;--crm-fase-vinta-bg: #e8f5e9;--crm-fase-persa: #b71c1c;--crm-fase-persa-bg: #fce4ec}html,body{height:100%}body{margin:0;font-family:Lato,Helvetica Neue,Arial,sans-serif;font-size:14px;background:var(--crm-bg);color:var(--crm-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6,.mat-headline-large,.mat-headline-medium,.mat-headline-small,.mat-title-large,.mat-title-medium{font-family:Lato,Arial,sans-serif!important;letter-spacing:-.01em}.page-header{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-bottom:1.25rem;flex-shrink:0}.page-header>h1{margin:0 auto 0 0;font-size:2rem;font-weight:900;font-family:Lato,Arial,sans-serif;color:var(--crm-text-primary);letter-spacing:-.02em;line-height:1.15}.page-header__breadcrumb{order:-1;flex-basis:100%;display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;font-size:.78rem;color:var(--crm-text-secondary)}.page-header__breadcrumb:empty{display:none}.page-header__titles{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;min-width:0;flex:1}.page-header__meta{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.page-header__meta:empty{display:none}.page-header__subtitle{order:100;flex-basis:100%;margin:0;font-size:.875rem;color:var(--crm-text-secondary)}.page-header__actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0;flex-wrap:wrap;margin-left:auto}.page-header__actions:empty{display:none}.cps-header>.page-header{flex:1 1 100%;margin-bottom:0}@media(max-width:767px){.page-header__actions{justify-content:flex-end}}.crm-card{background:var(--crm-card-bg);border-radius:var(--crm-radius);box-shadow:none;border:1px solid var(--crm-border)}.table-shell.crm-card,.crm-table-card{border-radius:0;box-shadow:none;border:1px solid var(--crm-border)}.cps-panel>.crm-card{background:transparent;border:0;border-radius:0;box-shadow:none;border-bottom:1px solid var(--crm-border)}.cps-panel>.crm-card:last-child{border-bottom:0}.mat-mdc-table .mat-mdc-header-cell{background:var(--crm-card-bg, #fff);z-index:1;box-shadow:inset 0 -1px 0 var(--crm-border, #dddddd)}:root[data-theme=dark] .mat-mdc-table .mat-mdc-header-cell{background:var(--crm-card-bg)}.badge{display:inline-flex;align-items:center;gap:5px;padding:1px 8px;border-radius:20px;font-size:.72rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;box-shadow:0 1px 3px #0000001a}[class*=badge-stato-]:before,[class*=badge-fase-]:before,[class*=badge-tipo-]:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.badge-stato-lead{background:var(--crm-stato-lead-bg);color:var(--crm-stato-lead)}.badge-stato-contatto{background:var(--crm-stato-contatto-bg);color:var(--crm-stato-contatto)}.badge-stato-trattativa{background:var(--crm-stato-trattativa-bg);color:var(--crm-stato-trattativa)}.badge-stato-cliente{background:var(--crm-stato-cliente-bg);color:var(--crm-stato-cliente)}.badge-stato-inattivo{background:var(--crm-stato-inattivo-bg);color:var(--crm-stato-inattivo)}.badge-stato-perso{background:var(--crm-stato-perso-bg);color:var(--crm-stato-perso)}.badge-fase-qualifica{background:var(--crm-fase-qualifica-bg);color:var(--crm-fase-qualifica)}.badge-fase-proposta{background:var(--crm-fase-proposta-bg);color:var(--crm-fase-proposta)}.badge-fase-negoziazione{background:var(--crm-fase-negoziazione-bg);color:var(--crm-fase-negoziazione)}.badge-fase-vinta{background:var(--crm-fase-vinta-bg);color:var(--crm-fase-vinta)}.badge-fase-persa{background:var(--crm-fase-persa-bg);color:var(--crm-fase-persa)}.badge-tipo-azienda{background:#ede9fe;color:#5b21b6}.badge-tipo-privato{background:#fce7f3;color:#9d174d}.crm-toast-panel.mat-mdc-snack-bar-container,.crm-toast-panel .mat-mdc-snack-bar-container{background:transparent!important;box-shadow:none!important;padding:0!important;min-width:unset!important;max-width:unset!important;border-radius:0!important}.crm-toast-panel .mdc-snackbar__surface{background:transparent!important;box-shadow:none!important;padding:0!important;min-width:unset!important;border-radius:0!important}.menu-item-danger{color:#b91c1c!important}.menu-item-danger mat-icon{color:#b91c1c!important}.menu-item-danger:hover{background:#fee2e2!important}.mat-mdc-table{background:var(--crm-card-bg)!important;font-family:Lato,Helvetica Neue,Arial,sans-serif!important;font-size:.9375rem}.mat-mdc-header-cell{font-family:Lato,Helvetica Neue,Arial,sans-serif!important;font-weight:400!important;font-size:.9375rem!important;text-transform:none!important;letter-spacing:0!important;color:var(--crm-table-head, #3d4d59)!important;background:var(--crm-card-bg)!important;border-bottom:3px solid var(--crm-border, #dddddd)!important;padding:12px 16px!important}.mat-sort-header-arrow,[aria-sort=ascending] .mat-sort-header-content,[aria-sort=descending] .mat-sort-header-content{color:var(--crm-primary, #1474bd)!important}.mat-mdc-row:hover{background:#f5f7fa!important}.mat-mdc-row{border-bottom-color:#efefef!important}.mat-mdc-cell{border-bottom-color:#efefef!important;color:#000000de!important;font-family:Lato,Helvetica Neue,Arial,sans-serif!important}.mat-mdc-table{--mat-table-row-item-outline-color: #efefef}.mat-mdc-paginator{background:transparent!important;border-top:1px solid var(--crm-border, #dddddd);font-family:Lato,Helvetica Neue,Arial,sans-serif!important;font-size:.85rem!important;color:var(--crm-text-secondary)!important;position:static!important}.mat-mdc-paginator-outer-container,.mat-mdc-paginator-container{position:static!important}.cps-root{overflow-y:auto!important;overflow-x:hidden}.table-shell,.table-shell.crm-card{flex:none!important;overflow:visible!important;min-height:0!important}.table-wrap{flex:none!important;overflow-y:visible!important;overflow-x:auto}.mat-mdc-paginator .mat-mdc-paginator-container{padding:0 1rem!important;min-height:48px!important}.mat-mdc-paginator .mat-mdc-paginator-page-size-label,.mat-mdc-paginator .mat-mdc-paginator-range-label{font-family:inherit!important;font-weight:400!important;color:var(--crm-text-secondary)!important}.mat-mdc-paginator .mat-mdc-icon-button{color:var(--crm-primary, #1474bd)!important}.mat-mdc-paginator .mat-mdc-icon-button:disabled{color:#00000042!important}.list-toolbar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:.75rem}.list-toolbar__filters{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0;flex-wrap:wrap}.list-toolbar__actions{display:flex;align-items:center;gap:.5rem;margin-left:auto;flex-shrink:0}.field-wrap{display:flex;flex-direction:column;gap:.3rem}.field-wrap mat-form-field{width:100%}.field-label{font-family:Lato,Helvetica Neue,Arial,sans-serif;font-size:.8rem;font-weight:700;color:var(--crm-text-primary);display:block;line-height:1}.field-label:after{content:" (opzionale)";font-style:italic;font-size:calc(.8rem - 1px);font-weight:400;color:#94a3b8}.field-label.required:after{content:none}.mat-mdc-form-field{font-family:Lato,Helvetica Neue,Arial,sans-serif!important}.mdc-notched-outline__notch{border-right:none!important}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:12px!important;overflow:hidden}.ai-guide-dialog-panel .mat-mdc-dialog-container .mdc-dialog__surface{background:#0a0a0a!important;color:#f5f5f5!important;border-radius:16px!important}.ai-guide-dialog-panel .mat-mdc-dialog-container{--mdc-dialog-container-color: #0a0a0a}.ai-guide-dialog-panel .mat-mdc-dialog-content{padding:0!important;background:#0a0a0a!important}.mat-mdc-dialog-title{background:#efefef!important;padding:.75rem 1.25rem!important;margin:0!important;font-family:Lato,Helvetica Neue,Arial,sans-serif!important;font-size:.9375rem!important;font-weight:700!important;color:#1a1a1a!important;line-height:1.4!important}.mat-mdc-dialog-content{padding:1.25rem 1.5rem!important;margin:0!important}.mat-mdc-dialog-actions{background:#f8f9fa!important;border-top:1px solid var(--crm-border)!important;padding:.75rem 1.5rem!important;margin:0!important;min-height:unset!important;gap:.5rem;justify-content:flex-start!important}html[data-theme=dark]{color-scheme:dark;--mat-sys-background: #121316;--mat-sys-error: #ffb4ab;--mat-sys-error-container: #93000a;--mat-sys-inverse-on-surface: #2f3033;--mat-sys-inverse-primary: #005cbb;--mat-sys-inverse-surface: #e3e2e6;--mat-sys-on-background: #e3e2e6;--mat-sys-on-error: #690005;--mat-sys-on-error-container: #ffdad6;--mat-sys-on-primary: #002f65;--mat-sys-on-primary-container: #d7e3ff;--mat-sys-on-primary-fixed: #001b3f;--mat-sys-on-primary-fixed-variant: #00458f;--mat-sys-on-secondary: #283041;--mat-sys-on-secondary-container: #dae2f9;--mat-sys-on-secondary-fixed: #131c2b;--mat-sys-on-secondary-fixed-variant: #3e4759;--mat-sys-on-surface: #e3e2e6;--mat-sys-on-surface-variant: #e0e2ec;--mat-sys-on-tertiary: #002f65;--mat-sys-on-tertiary-container: #d7e3ff;--mat-sys-on-tertiary-fixed: #001b3f;--mat-sys-on-tertiary-fixed-variant: #00458f;--mat-sys-outline: #8e9099;--mat-sys-outline-variant: #44474e;--mat-sys-primary: #abc7ff;--mat-sys-primary-container: #00458f;--mat-sys-primary-fixed: #d7e3ff;--mat-sys-primary-fixed-dim: #abc7ff;--mat-sys-scrim: #000000;--mat-sys-secondary: #bec6dc;--mat-sys-secondary-container: #3e4759;--mat-sys-secondary-fixed: #dae2f9;--mat-sys-secondary-fixed-dim: #bec6dc;--mat-sys-shadow: #000000;--mat-sys-surface: #121316;--mat-sys-surface-bright: #38393c;--mat-sys-surface-container: #1f2022;--mat-sys-surface-container-high: #292a2c;--mat-sys-surface-container-highest: #343537;--mat-sys-surface-container-low: #1a1b1f;--mat-sys-surface-container-lowest: #0d0e11;--mat-sys-surface-dim: #121316;--mat-sys-surface-tint: #abc7ff;--mat-sys-surface-variant: #44474e;--mat-sys-tertiary: #abc7ff;--mat-sys-tertiary-container: #00458f;--mat-sys-tertiary-fixed: #d7e3ff;--mat-sys-tertiary-fixed-dim: #abc7ff;--mat-sys-neutral-variant20: #2d3038;--mat-sys-neutral10: #1a1b1f;--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px;--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12;--crm-primary: #3b82f6;--crm-primary-dark: #2563eb;--crm-primary-light: #1e3359;--crm-bg: #0f1117;--crm-card-bg: #1a1d27;--crm-sidebar-bg: #141720;--crm-border: #4a5170;--crm-text-primary: #e1e7ef;--crm-text-secondary: #9aa5b8;--crm-surface-variant: #1f2335;--crm-hover-bg: rgba(255, 255, 255, .06);--crm-shadow-sm: 0 1px 3px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.35);--crm-shadow-md: 0 4px 8px rgba(0,0,0,.55), 0 2px 4px rgba(0,0,0,.4);--crm-success: #86efac;--crm-success-bg: rgba(22, 163, 74, .18);--crm-warning: #fcd34d;--crm-warning-bg: rgba(245, 158, 11, .18);--crm-danger: #fca5a5;--crm-danger-bg: rgba(239, 68, 68, .18);--crm-info: #93c5fd;--crm-info-bg: rgba(59, 130, 246, .18);--crm-neutral: #cbd5e1;--crm-neutral-bg: rgba(148, 163, 184, .18);--crm-nota-bg: #2a1a00;--crm-nota-border: #d97706;--crm-nota-text: #fbbf24;--crm-whatsapp: #4ade80;--crm-whatsapp-bg: rgba(37, 211, 102, .18);--crm-whatsapp-hover: #22c55e;--crm-stato-lead: #7cb9fa;--crm-stato-lead-bg: #0d2645;--crm-stato-contatto: #6ee7a0;--crm-stato-contatto-bg: #0a2e1a;--crm-stato-trattativa: #fda060;--crm-stato-trattativa-bg: #321505;--crm-stato-cliente: #5ee5d8;--crm-stato-cliente-bg: #062e2b;--crm-stato-inattivo: #9ca3af;--crm-stato-inattivo-bg: #1f2937;--crm-stato-perso: #fca5a5;--crm-stato-perso-bg: #2d0b0b;--crm-fase-qualifica: #a5b4fc;--crm-fase-qualifica-bg: #1e1b4b;--crm-fase-proposta: #7cb9fa;--crm-fase-proposta-bg: #0d2645;--crm-fase-negoziazione: #fda060;--crm-fase-negoziazione-bg: #321505;--crm-fase-vinta: #6ee7a0;--crm-fase-vinta-bg: #0a2e1a;--crm-fase-persa: #fca5a5;--crm-fase-persa-bg: #2d0b0b}html[data-theme=dark] .badge-tipo-azienda{background:#2d1f5e;color:#c4b5fd}html[data-theme=dark] .badge-tipo-privato{background:#3b1535;color:#f9a8d4}html[data-theme=dark] .menu-item-danger{color:#fca5a5!important}html[data-theme=dark] .menu-item-danger mat-icon{color:#fca5a5!important}html[data-theme=dark] .menu-item-danger:hover{background:#2d0b0b!important}html[data-theme=dark] .mat-mdc-header-cell{background:#12141c!important}html[data-theme=dark] .mat-mdc-row:hover{background:#21263a!important}html[data-theme=dark] .mat-mdc-row,html[data-theme=dark] .mat-mdc-cell{border-bottom-color:#2d3147!important}html[data-theme=dark] .mat-mdc-table{--mat-table-row-item-outline-color: #2d3147}html[data-theme=dark] .mat-mdc-dialog-container .mdc-dialog__surface{background:var(--crm-card-bg)!important}html[data-theme=dark] .mat-mdc-dialog-title{background:#1f2333!important}html[data-theme=dark] .mat-mdc-dialog-actions{background:#1f2333!important;border-top-color:#2d3147!important}html[data-theme=dark] .field-label:after{color:#64748b}html[data-theme=dark] .imp-note{background:#1a2c4a;border-color:#2d4f8e;color:#93c5fd}html[data-theme=dark] .imp-note code{background:#0d2645}html[data-theme=dark] .mat-mdc-header-cell,html[data-theme=dark] .mat-mdc-cell{color:var(--crm-text-primary)!important}html[data-theme=dark] .mat-mdc-menu-panel{background:#1a1d27!important}html[data-theme=dark] .mat-mdc-menu-item{color:var(--crm-text-primary)!important}html[data-theme=dark] .mat-mdc-menu-item:hover,html[data-theme=dark] .mat-mdc-menu-item:focus{background:#21263a!important}html[data-theme=dark] .mat-mdc-outlined-button:not([color]):not([disabled]),html[data-theme=dark] .mat-mdc-outlined-button.mat-unthemed:not([disabled]){background:transparent!important;border-color:var(--crm-primary)!important;color:var(--crm-primary)!important}html[data-theme=dark] .mat-mdc-outlined-button:not([color]):not([disabled]):hover,html[data-theme=dark] .mat-mdc-outlined-button.mat-unthemed:not([disabled]):hover{background:var(--crm-primary-light)!important}html[data-theme=dark] .dlg-title{background:#1f2333!important;border-bottom-color:#2d3147!important}html[data-theme=dark] .dlg-title .mat-mdc-dialog-title{color:var(--crm-text-primary)!important}html[data-theme=dark] .dlg-close{color:var(--crm-text-secondary)!important}html[data-theme=dark] .dlg-close:hover{color:var(--crm-text-primary)!important;background:#ffffff14!important}.mat-mdc-slide-toggle{--mdc-switch-track-width: 48px;--mdc-switch-track-height: 14px;--mdc-switch-handle-width: 22px;--mdc-switch-handle-height: 22px;--mdc-switch-track-shape: 7px;--mdc-switch-handle-shape: 10px;--mdc-switch-selected-track-color: #1474bd;--mdc-switch-selected-hover-track-color: #1474bd;--mdc-switch-selected-focus-track-color: #1474bd;--mdc-switch-selected-pressed-track-color: #1474bd;--mdc-switch-selected-handle-color: #ffffff;--mdc-switch-selected-hover-handle-color: #ffffff;--mdc-switch-selected-focus-handle-color: #ffffff;--mdc-switch-selected-pressed-handle-color: #ffffff;--mdc-switch-selected-icon-color: transparent;--mdc-switch-selected-focus-state-layer-color: #1474bd;--mdc-switch-selected-hover-state-layer-color: #1474bd;--mdc-switch-selected-pressed-state-layer-color: #1474bd;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #ffffff;--mdc-switch-unselected-hover-handle-color: #ffffff;--mdc-switch-unselected-focus-handle-color: #ffffff;--mdc-switch-unselected-pressed-handle-color: #ffffff;--mdc-switch-unselected-icon-color: transparent;--mdc-switch-disabled-selected-track-color: #e0e0e0;--mdc-switch-disabled-unselected-track-color: #e0e0e0}.mat-mdc-slide-toggle .mdc-switch__icons{display:none}.mat-mdc-slide-toggle .mdc-form-field,.mat-mdc-slide-toggle .mdc-label,.mat-mdc-slide-toggle label{font-family:Lato,Helvetica Neue,Arial,sans-serif!important;font-size:12px!important;font-weight:400!important;color:#000000de!important;padding-left:8px!important}.status-badge-panel.mat-mdc-select-panel{padding:4px 0!important}.status-badge-panel.mat-mdc-select-panel .mat-mdc-option{min-height:36px!important;padding:4px 12px!important}.status-badge-panel.mat-mdc-select-panel .mat-mdc-option .mdc-list-item__primary-text{display:flex!important;align-items:center}.status-badge-panel.mat-mdc-select-panel .status-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .7rem;border-radius:999px;font-size:.78rem;font-weight:700;white-space:nowrap;line-height:1}.status-badge-panel.mat-mdc-select-panel .status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.status-badge-panel.mat-mdc-select-panel .status-badge--approvato{color:#15803d;background:#dcfce7}.status-badge-panel.mat-mdc-select-panel .status-badge--approvato .status-dot{background:#16a34a}.status-badge-panel.mat-mdc-select-panel .status-badge--rifiutato{color:#b91c1c;background:#fee2e2}.status-badge-panel.mat-mdc-select-panel .status-badge--rifiutato .status-dot{background:#dc2626}.status-badge-panel.mat-mdc-select-panel .status-badge--completo{color:#0f766e;background:#ccfbf1}.status-badge-panel.mat-mdc-select-panel .status-badge--completo .status-dot{background:#0d9488}.status-badge-panel.mat-mdc-select-panel .status-badge--incompleto{color:#c2410c;background:#ffedd5}.status-badge-panel.mat-mdc-select-panel .status-badge--incompleto .status-dot{background:#ea580c}.status-badge-panel.mat-mdc-select-panel .status-badge--inviato{color:#1d4ed8;background:#dbeafe}.status-badge-panel.mat-mdc-select-panel .status-badge--inviato .status-dot{background:#2563eb}.status-badge-panel.mat-mdc-select-panel .status-badge--bozza{color:#374151;background:#f3f4f6}.status-badge-panel.mat-mdc-select-panel .status-badge--bozza .status-dot{background:#6b7280}.mat-mdc-menu-panel{background:#fff!important}.mat-mdc-menu-item mat-icon,.mat-mdc-menu-item .mat-icon{display:none!important}.mat-mdc-menu-item .mat-mdc-menu-item-text{padding-left:0!important}.mat-mdc-unelevated-button.mat-primary,.mat-mdc-raised-button.mat-primary,[mat-flat-button]{font-family:Lato,Arial,sans-serif!important;font-weight:700!important;letter-spacing:.02em}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: var(--crm-primary);--mdc-filled-button-label-text-color: #fff}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:0!important;padding-bottom:0!important;display:flex!important;align-items:center!important;min-height:40px!important}button:not(.mat-mdc-icon-button){border-radius:3px!important}.mat-mdc-button,.mat-mdc-raised-button,.mat-mdc-flat-button,.mat-mdc-outlined-button,.mat-mdc-unelevated-button{border-radius:3px!important}.mat-mdc-outlined-button:not([color]):not([disabled]),.mat-mdc-outlined-button.mat-unthemed:not([disabled]){background:#fff!important;border-color:var(--crm-primary, #1474bd)!important;color:var(--crm-primary, #1474bd)!important;font-family:Lato,Helvetica Neue,Arial,sans-serif!important;font-weight:700!important;--mdc-outlined-button-outline-width: 1.5px}.mat-mdc-outlined-button:not([color]):not([disabled]):hover,.mat-mdc-outlined-button.mat-unthemed:not([disabled]):hover{background:var(--crm-primary-light, #e6f2fb)!important}.dlg-title{display:flex;align-items:center;flex-shrink:0;background:#efefef;border-bottom:1px solid #ddd;padding-right:4px}.dlg-title .mat-mdc-dialog-title{flex:1;color:#1a1a1a!important;margin:0!important;background:transparent!important;padding:0 0 0 1.25rem!important;font-family:Lato,Helvetica Neue,Arial,sans-serif!important;font-size:.9375rem!important;font-weight:700!important;line-height:1.4!important}.dlg-title .mat-mdc-dialog-title:before{display:none!important}.dlg-close{color:#666!important}.dlg-close:hover{color:#1a1a1a!important;background:#00000012!important}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{cursor:pointer}@keyframes confetti-burst{0%{transform:translate(0) rotate(0);opacity:1}70%{opacity:1}to{transform:translate(var(--tx, 0),var(--ty, -40px)) rotate(var(--rotate, 360deg));opacity:0}}.confetti-piece{position:fixed;left:var(--sx, 50vw);top:var(--sy, 50vh);width:3.5px;height:3.5px;background:var(--color, #1474bd);border-radius:2px;pointer-events:none;z-index:9999;animation:confetti-burst var(--duration, .7s) var(--delay, 0s) ease-out forwards}.driver-popover.crm-tour-popover{background:var(--crm-card-bg);color:var(--crm-text-primary);border-radius:12px;box-shadow:var(--crm-shadow-md);border:1px solid var(--crm-border);font-family:Lato,Helvetica Neue,Arial,sans-serif;padding:0;overflow:hidden;max-width:400px;min-width:320px}.driver-popover.crm-tour-popover .driver-popover-title{display:block;background:#efefef;border-bottom:1px solid var(--crm-border);padding:.75rem 2.5rem .75rem 1.25rem;margin:0;font-family:inherit;font-size:.9375rem;font-weight:700;color:#1a1a1a;line-height:1.4}.driver-popover.crm-tour-popover .driver-popover-close-btn{position:absolute;top:4px;right:4px;width:40px;height:40px;display:inline-flex!important;align-items:center;justify-content:center;padding:0;background:transparent;border:none;border-radius:50%;font-size:0!important;line-height:0;color:transparent!important;cursor:pointer;z-index:1;transition:background .15s,opacity .15s;background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a1a1a'%3E%3Cpath d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:22px 22px;opacity:.75}.driver-popover.crm-tour-popover .driver-popover-close-btn:hover{background-color:#00000014;opacity:1}.driver-popover.crm-tour-popover .driver-popover-description{padding:1.25rem 1.5rem;margin:0;background:var(--crm-card-bg);font-size:.9rem;line-height:1.5;color:var(--crm-text-primary)}.driver-popover.crm-tour-popover .driver-popover-footer{background:#f8f9fa;border-top:1px solid var(--crm-border);padding:.75rem 1.5rem;margin:0;display:flex;align-items:center;justify-content:flex-start;gap:.75rem}.driver-popover.crm-tour-popover .driver-popover-progress-text{order:2;margin-left:auto;font-size:.75rem;color:var(--crm-text-secondary);font-weight:500}.driver-popover.crm-tour-popover .driver-popover-navigation-btns{order:1;display:flex;gap:.5rem;align-items:center;justify-content:flex-start;flex:0 0 auto}.driver-popover.crm-tour-popover .driver-popover-prev-btn,.driver-popover.crm-tour-popover .driver-popover-next-btn,.driver-popover.crm-tour-popover .crm-tour-btn{font-family:inherit;font-size:.85rem;font-weight:500;padding:8px 16px;border-radius:6px;border:1px solid transparent;cursor:pointer;text-shadow:none;box-shadow:none;line-height:1.2;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.driver-popover.crm-tour-popover .driver-popover-prev-btn,.driver-popover.crm-tour-popover .crm-tour-btn--secondary{background:var(--crm-card-bg);color:var(--crm-text-primary);border-color:var(--crm-border)}.driver-popover.crm-tour-popover .driver-popover-prev-btn:hover:not(:disabled),.driver-popover.crm-tour-popover .crm-tour-btn--secondary:hover:not(:disabled){background:var(--crm-hover-bg);border-color:var(--crm-text-secondary)}.driver-popover.crm-tour-popover .driver-popover-prev-btn:disabled,.driver-popover.crm-tour-popover .crm-tour-btn--secondary:disabled{opacity:.5;cursor:not-allowed}.driver-popover.crm-tour-popover .driver-popover-next-btn,.driver-popover.crm-tour-popover .crm-tour-btn--primary{background:var(--crm-primary);color:var(--crm-on-primary, #fff);border-color:var(--crm-primary)}.driver-popover.crm-tour-popover .driver-popover-next-btn:hover,.driver-popover.crm-tour-popover .crm-tour-btn--primary:hover{background:var(--crm-primary-dark);border-color:var(--crm-primary-dark)}.driver-popover.crm-tour-popover .driver-popover-arrow-side-left.driver-popover-arrow{border-left-color:var(--crm-card-bg)}.driver-popover.crm-tour-popover .driver-popover-arrow-side-right.driver-popover-arrow{border-right-color:var(--crm-card-bg)}.driver-popover.crm-tour-popover .driver-popover-arrow-side-top.driver-popover-arrow{border-top-color:var(--crm-card-bg)}.driver-popover.crm-tour-popover .driver-popover-arrow-side-bottom.driver-popover-arrow{border-bottom-color:#efefef}[data-theme=dark] .driver-popover.crm-tour-popover{background:var(--crm-card-bg);border-color:var(--crm-border)}[data-theme=dark] .driver-popover.crm-tour-popover .driver-popover-title{background:#1f2333;border-bottom-color:var(--crm-border);color:var(--crm-text-primary)}[data-theme=dark] .driver-popover.crm-tour-popover .driver-popover-close-btn{color:#ffffffb3}[data-theme=dark] .driver-popover.crm-tour-popover .driver-popover-close-btn:hover{background:#ffffff14;color:#fff}[data-theme=dark] .driver-popover.crm-tour-popover .driver-popover-description{background:var(--crm-card-bg);color:var(--crm-text-primary)}[data-theme=dark] .driver-popover.crm-tour-popover .driver-popover-footer{background:#ffffff08;border-top-color:var(--crm-border)}[data-theme=dark] .driver-popover.crm-tour-popover .driver-popover-arrow-side-bottom.driver-popover-arrow{border-bottom-color:#1f2333}
