/* ECOPIU THEME - generated */
:root {
  --ec-theme-primary:#2d7eea;
  --ec-theme-bg:#f4f7fb;
  --ec-theme-panel:#ffffff;
  --ec-theme-text:#172033;
  --ec-theme-muted:#778297;
  --ec-theme-border:#e2e8f0;
  --ec-theme-success:#2d7eea;
  --ec-theme-warning:#d99b28;
  --ec-theme-danger:#d94b55;
  --ec-theme-radius:18px;
  --ec-theme-radius-lg:24px;
  --ec-theme-button-radius:10px;
  --ec-theme-nav-height:72px;
  --ec-theme-sidebar-width:235px;
  --ec-theme-content-width:1450px;
  --ec-theme-control-pad:12px;
  --ec-theme-heading-scale:1.00;
  --ec-theme-card-padding:22px;
  --ec-theme-border-width:1px;
  --ec-theme-button-height:40px;
  --ec-theme-input-height:41px;
  --ec-theme-nav-gap:4px;
  --ec-theme-sidebar-item-radius:11px;
  --ec-theme-page-padding:34px;
  --ec-theme-table-padding:12px;
  --ec-theme-logo-width:160px;
  --ec-theme-shadow:0 10px 34px rgba(25,40,70,0.063);
}
html,body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Arial,sans-serif!important;background:var(--ec-theme-bg)!important;color:var(--ec-theme-text)!important;font-size:14px}
.ec-topbar,.pn-global,.v5-global{height:var(--ec-theme-nav-height)!important;background:color-mix(in srgb,var(--ec-theme-panel) 92%,transparent)!important;border-color:var(--ec-theme-border)!important}
.ec-brand,.pn-logo,.v5-logo{display:flex!important}
.ec-brand img,.pn-logo img,.v5-logo img{max-width:var(--ec-theme-logo-width)!important}
.ec-nav,.pn-global-nav,.v5-global-nav{gap:var(--ec-theme-nav-gap)!important}
.ec-main,.pn-main,.v5-page{max-width:var(--ec-theme-content-width)!important}
.ec-card,.ec-stat,.ec-module,.ec-table-wrap,.pn-card,.pn-stat,.v5-page .panel,.v5-page .stat-card{background:var(--ec-theme-panel)!important;border-color:var(--ec-theme-border)!important;border-width:var(--ec-theme-border-width)!important;box-shadow:var(--ec-theme-shadow)!important}
.ec-card,.ec-module,.pn-card,.v5-page .panel{padding:var(--ec-theme-card-padding)!important}
.ec-stat,.pn-stat{border-radius:var(--ec-theme-radius)!important}
.ec-module,.ec-table-wrap,.pn-card,.v5-page .panel{border-radius:var(--ec-theme-radius-lg)!important}
.ec-nav a.active,.pn-global-nav a.active,.pn-menu a.active,.v5-global-nav a.active,.v5-side-nav a.active{color:var(--ec-theme-primary)!important;background:color-mix(in srgb,var(--ec-theme-primary) 10%,white)!important}
.ec-nav a:hover,.pn-global-nav a:hover,.pn-menu a:hover,.v5-global-nav a:hover,.v5-side-nav a:hover{color:var(--ec-theme-primary)!important}
.ec-primary,.ec-search button,.pn-primary,.v5-page .btn.primary,.v5-page button.btn.primary{background:var(--ec-theme-primary)!important;border-radius:var(--ec-theme-button-radius)!important;min-height:var(--ec-theme-button-height)!important}
.ec-secondary,.pn-secondary,.v5-page .btn.ghost{border-radius:var(--ec-theme-button-radius)!important}
input,select,textarea,button,.btn{border-radius:var(--ec-theme-button-radius)!important}
input,select{min-height:var(--ec-theme-input-height)!important}
.ec-table th,.ec-table td,.pn-table th,.pn-table td,.modern-table th,.modern-table td{padding-top:var(--ec-theme-table-padding)!important;padding-bottom:var(--ec-theme-table-padding)!important}
.ec-heading p,.ec-page-head p,.pn-help,.pn-card-head p,.page-head p,.muted{color:var(--ec-theme-muted)!important}
.pn-positive,.status-confermato{color:var(--ec-theme-success)!important}
.pn-negative,.status-annullato{color:var(--ec-theme-danger)!important}
.v5-side-nav a,.pn-menu a{border-radius:var(--ec-theme-sidebar-item-radius)!important}
.ec-main,.pn-main,.v5-page{padding-left:var(--ec-theme-page-padding)!important;padding-right:var(--ec-theme-page-padding)!important}
.ec-heading h1,.ec-page-head h1,.pn-page-head h1,.v5-page .page-head h1{font-size:calc(2.35rem * var(--ec-theme-heading-scale))!important}
.sidebar.v5-sidebar,.pn-sidebar{width:var(--ec-theme-sidebar-width)!important;background:color-mix(in srgb,var(--ec-theme-panel) 78%,transparent)!important;border-color:var(--ec-theme-border)!important}
.app-main.v5-main{width:calc(100% - var(--ec-theme-sidebar-width))!important;margin-left:var(--ec-theme-sidebar-width)!important}
.pn-shell{grid-template-columns:var(--ec-theme-sidebar-width) minmax(0,1fr)!important}



/* Controlli a scelta: il campo originale resta l'unico valore inviato al server. */
.ec-preset{display:block;min-width:0;width:100%;font-weight:400}.ec-preset>input[hidden]{display:none!important}.ec-preset>select{width:100%;max-width:100%;min-width:0;margin:0;box-sizing:border-box;font:inherit;color:inherit;background:var(--ec-theme-panel,#fff);border:1px solid var(--ec-theme-border,#dbe4ee);padding:10px 30px 10px 10px}.ec-preset>input:not([hidden]){width:100%;margin-top:7px}.ec-preset-select:focus-visible{outline:2px solid var(--ec-theme-primary,#2d7eea);outline-offset:2px}.ec-preset-multi>input{margin-top:0!important}.ec-preset-multi details{margin-top:8px;border:1px solid var(--ec-theme-border,#dbe4ee);border-radius:9px;padding:8px 10px;background:var(--ec-theme-panel,#fff)}.ec-preset-multi summary{cursor:pointer;font-size:12px;font-weight:600}.ec-preset-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:6px;padding-top:9px}.ec-preset-checks>span{display:flex!important;flex-direction:row!important;align-items:center;gap:7px;font-size:12px;font-weight:400;min-width:0}.ec-preset-checks input[type=checkbox]{width:16px!important;height:16px!important;min-height:0!important;margin:0!important;flex-shrink:0}.ec-line .ec-preset{min-width:0}.ec-line .ec-preset select{min-height:41px}.ec-nav>a[href="/aspetto"],.pn-global-nav>a[href$="/aspetto"],.v5-global-nav>a[href$="/aspetto"]{order:999}
/* Il logo rispetta la larghezza impostata in Aspetto; fallback 160 px. */
html body .ec-topbar .ec-brand,html body .pn-global .pn-logo,html body .v5-global .v5-logo{width:auto!important;min-width:0!important;flex:0 0 auto!important;margin-right:22px}
html body .ec-topbar .ec-brand img,html body .pn-global .pn-logo img,html body .v5-global .v5-logo img{width:var(--ec-theme-logo-width,160px)!important;max-width:var(--ec-theme-logo-width,160px)!important;height:auto!important;max-height:calc(var(--ec-theme-nav-height,72px) - 12px)!important;object-fit:contain}
html body .ec-topbar .ec-nav{min-width:0;overflow-x:auto;white-space:nowrap}html body .ec-topbar .ec-top-right{flex-shrink:0;padding-left:12px}html body .ec-topbar .ec-nav a{white-space:nowrap}
@media(max-width:760px){html body .ec-topbar .ec-brand img,html body .pn-global .pn-logo img,html body .v5-global .v5-logo img{width:min(var(--ec-theme-logo-width,160px),125px)!important;max-width:125px!important}html body .ec-topbar .ec-brand,html body .pn-global .pn-logo,html body .v5-global .v5-logo{margin-right:12px}.ec-preset>select{font-size:14px}.ec-sdi{display:none}}
