/* Dashboard operatore indipendente da header/footer Astra e plugin */
body.pgmod-standalone{margin:0!important;background:#f8fbff!important;font-family:Roboto,Arial,sans-serif;color:#092752}body.pgmod-standalone:before,body.pgmod-standalone:after{display:none!important}.pgmod-wrap{max-width:1400px;margin:0 auto;padding:16px 18px 42px;box-sizing:border-box}.pgmod-wrap *{box-sizing:border-box}.pgmod-top{display:flex;align-items:center;gap:24px;padding:8px 4px 20px}.pgmod-brand{display:flex;align-items:center;gap:12px;min-width:290px}.pgmod-brand strong{font-size:22px;display:block;color:#0b2b58}.pgmod-brand em{font-size:14px;font-style:normal;color:#163a68;display:block}.pgmod-brand-symbol{font-size:52px;color:#087ac0;line-height:1;position:relative}.pgmod-brand-symbol small{font-size:24px;color:#57b71d;position:absolute;top:-5px;left:25px}.pgmod-top-title{display:flex;gap:14px;align-items:center;border-left:1px solid #a7bcd2;padding-left:30px;flex:1}.pgmod-top-title>.dashicons{font-size:36px;width:40px;height:40px}.pgmod-top-title strong{font-size:27px;display:block}.pgmod-top-title small{display:block;font-size:14px}.pgmod-user{display:flex;align-items:center;gap:10px}.pgmod-user>.dashicons{font-size:34px;width:38px;height:38px;color:#087ac0}.pgmod-user strong,.pgmod-user small{display:block}.pgmod-user small{color:#607b9b}.pgmod-user a{margin-left:12px;color:#153c68}.pgmod-hero{min-height:210px;border-radius:18px;background:linear-gradient(112deg,#e4f6ff 0%,#d7f1fa 57%,#c6f0b3 100%);padding:35px 40px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative}.pgmod-hero:after{content:"";position:absolute;right:-20px;bottom:-120px;width:510px;height:200px;border-radius:50%;background:#71c91c;transform:rotate(-9deg);opacity:.88}.pgmod-hero h1{margin:0 0 8px;font-size:39px;color:#092752}.pgmod-hero h1 span{color:#268a0b}.pgmod-hero p{font-size:18px;line-height:1.5;max-width:620px;margin:0}.pgmod-hero i{display:block;width:110px;height:6px;border-radius:8px;background:#52b918;margin-top:20px}.pgmod-hero-art{margin-right:80px;z-index:1}.pgmod-hero-art .dashicons{font-size:125px;width:125px;height:125px;color:#087ac0;opacity:.75}.pgmod-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.pgmod-card{background:white;border:1px solid #d9e5f1;border-radius:18px;box-shadow:0 4px 12px #143a6010;display:flex;align-items:center;gap:18px;min-height:128px;padding:22px;text-decoration:none!important;color:#0b2b58!important;transition:transform .18s,box-shadow .18s}.pgmod-card:hover,.pgmod-card:focus-visible{transform:translateY(-3px);box-shadow:0 9px 22px #143a6020}.pgmod-icon{width:78px;height:78px;border-radius:18px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.pgmod-icon.blue{background:#def2ff;color:#0876ba}.pgmod-icon.green{background:#e9f8d9;color:#368b0a}.pgmod-icon .dashicons{font-size:40px;width:40px;height:40px}.pgmod-card-copy{flex:1}.pgmod-card-copy strong{display:block;font-size:21px;line-height:1.25;margin-bottom:5px}.pgmod-card-copy small{display:block;font-size:14px;line-height:1.45;color:#26466b}.pgmod-chevron{background:#e6f2fa;border-radius:50%;padding:7px;width:32px!important;height:32px!important;font-size:18px!important;color:#0b467d}.pgmod-bottom{display:flex;justify-content:space-between;margin-top:30px;font-size:13px;color:#64809b}.pgmod-bottom a{color:#0b467d}@media(max-width:1000px){.pgmod-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pgmod-top-title strong{font-size:22px}.pgmod-brand{min-width:230px}.pgmod-brand strong{font-size:19px}}@media(max-width:700px){.pgmod-top{flex-wrap:wrap;gap:12px}.pgmod-brand{min-width:0;flex:1}.pgmod-top-title{order:3;flex-basis:100%;border-left:0;border-top:1px solid #dce7f1;padding:14px 0 0}.pgmod-user small{display:none}.pgmod-user strong{font-size:12px}.pgmod-hero{padding:26px 22px;min-height:170px}.pgmod-hero h1{font-size:30px}.pgmod-hero p{font-size:15px}.pgmod-hero-art{display:none}.pgmod-grid{grid-template-columns:1fr;gap:12px}.pgmod-card{min-height:100px;padding:15px}.pgmod-icon{width:62px;height:62px}.pgmod-icon .dashicons{font-size:32px;width:32px;height:32px}.pgmod-card-copy strong{font-size:18px}}

/* v1.5.80: gruppi espandibili nella dashboard operatore */
.pgmod-group{min-width:0;align-self:start;border-radius:18px;overflow:hidden;background:#fff;border:1px solid #d5e3f1;box-shadow:0 4px 12px rgba(13,43,85,.05)}
.pgmod-group>.pgmod-card{display:flex;cursor:pointer;list-style:none;border:0!important;box-shadow:none!important;border-radius:18px!important;min-height:125px}
.pgmod-group>.pgmod-card::-webkit-details-marker{display:none}
.pgmod-group[open]>.pgmod-card{border-radius:18px 18px 0 0!important}
.pgmod-group[open] .pgmod-chevron{transform:rotate(180deg)}
.pgmod-submenu{padding:0 18px 15px;display:flex;flex-direction:column;gap:6px}
.pgmod-submenu a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;background:#f4f9fe;border-radius:9px;text-decoration:none!important;color:#123a6c!important;font-size:14px;font-weight:600}
.pgmod-submenu a:hover,.pgmod-submenu a:focus-visible{background:#e5f3ff;color:#006fba!important}
.pgmod-submenu .dashicons{font-size:16px;width:16px;height:16px}

/* v1.5.81: layout gerarchico con gruppi chiaramente distinguibili */
.pgmod-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:32px 0 14px;color:#0b2b58}
.pgmod-section-heading strong{font-size:24px}.pgmod-section-heading span{font-size:14px;color:#607b9b}
.pgmod-group-grid{margin-top:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
.pgmod-group{background:#fff!important;border:1px solid #cbddec!important;overflow:hidden}
.pgmod-group>.pgmod-card{min-height:100px!important;padding:18px 22px!important}
.pgmod-group>.pgmod-card .pgmod-icon{width:64px;height:64px}
.pgmod-group>.pgmod-card .pgmod-icon .dashicons{font-size:32px;width:32px;height:32px}
.pgmod-group[open]{border-color:#1184bd!important;box-shadow:0 8px 24px rgba(0,93,151,.14)!important}
.pgmod-group[open]>.pgmod-card{background:#edf8ff!important}
.pgmod-submenu{padding:8px 18px 18px!important;border-top:1px solid #e2edf5}
@media(max-width:700px){.pgmod-group-grid{grid-template-columns:1fr!important}.pgmod-section-heading{display:block}.pgmod-section-heading span{display:block;margin-top:5px}}

/* v1.5.82 — Area gestione Progetti frontend */
.pgmod-workspace{margin:24px 0;padding:24px;background:#f6f9fb;border:1px solid #dbe5eb;border-radius:16px;color:#1b2b36}
.pgmod-workspace-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.pgmod-workspace-nav a,.pgmod-filter a{display:inline-block;padding:9px 14px;border:1px solid #cbdde7;border-radius:9px;background:white;color:#176c9b;text-decoration:none;font-weight:600}
.pgmod-workspace-nav a:hover,.pgmod-filter a:hover,.pgmod-filter .active{background:#e7f3f9}
.pgmod-workspace h2{margin:0 0 12px}.pgmod-workspace .wrap{margin:0}.pgmod-workspace .notice{padding:10px 15px;border-left:4px solid #238b45;background:#fff;margin:12px 0}
.pgmod-filter{display:flex;gap:8px;margin:18px 0;flex-wrap:wrap}
.pgmod-table-wrap{overflow-x:auto;background:white;border-radius:10px;border:1px solid #dce5e9}
.pgmod-table{border-collapse:collapse;width:100%;min-width:650px;text-align:left}
.pgmod-table th,.pgmod-table td{padding:14px 16px;border-bottom:1px solid #e6edf0;vertical-align:middle}
.pgmod-table th{background:#edf4f8}.pgmod-table td a{color:#087ac0}
.pgmod-workspace .button,.pgmod-workspace .button-primary{display:inline-block;cursor:pointer;text-decoration:none;border-radius:7px}
.pgmod-workspace .button-primary{background:#087ac0;color:white;border:0}
.pgmod-workspace .form-table{width:100%;border-collapse:collapse}.pgmod-workspace .form-table th,.pgmod-workspace .form-table td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid #dbe5eb}
.pgmod-workspace .regular-text,.pgmod-workspace .large-text{width:100%;max-width:700px;padding:9px}
@media(max-width:700px){.pgmod-workspace{padding:14px}.pgmod-workspace .form-table tr,.pgmod-workspace .form-table th,.pgmod-workspace .form-table td{display:block;width:100%;box-sizing:border-box}}

/* v1.5.83: interfaccia operatore compatta, senza modificare le altre pagine */
body.pgmod-standalone .pgmod-wrap{padding-top:10px}
body.pgmod-standalone .pgmod-top{padding-bottom:12px}
body.pgmod-standalone .pgmod-hero{min-height:125px;padding:20px 28px;border-radius:13px}
body.pgmod-standalone .pgmod-hero h1{font-size:27px!important;line-height:1.2!important;margin:0 0 6px!important}
body.pgmod-standalone .pgmod-hero p{font-size:14px!important;line-height:1.4!important}
body.pgmod-standalone .pgmod-hero i{margin-top:12px;width:80px;height:4px}
body.pgmod-standalone .pgmod-hero-art .dashicons{font-size:80px;width:80px;height:80px}
body.pgmod-standalone .pgmod-hero:after{width:350px;height:140px;bottom:-95px}
body.pgmod-standalone .pgmod-workspace{margin:16px 0;padding:17px 20px;border-radius:12px;font-size:14px;line-height:1.45}
body.pgmod-standalone .pgmod-workspace-nav{gap:7px;margin-bottom:14px}
body.pgmod-standalone .pgmod-workspace-nav a,body.pgmod-standalone .pgmod-filter a{font-size:13px!important;line-height:1.35!important;padding:7px 11px!important;border-radius:7px;font-weight:600}
body.pgmod-standalone .pgmod-workspace h2{font-size:23px!important;line-height:1.3!important;margin:0 0 8px!important}
body.pgmod-standalone .pgmod-workspace p{font-size:14px!important;line-height:1.5!important;margin:0 0 10px!important}
body.pgmod-standalone .pgmod-filter{margin:12px 0;gap:6px}
body.pgmod-standalone .pgmod-table{font-size:13px!important;line-height:1.35!important}
body.pgmod-standalone .pgmod-table th,body.pgmod-standalone .pgmod-table td{padding:9px 11px!important;font-size:13px!important;line-height:1.4!important}
body.pgmod-standalone .pgmod-table td a{font-size:13px!important}
body.pgmod-standalone .pgmod-workspace input,body.pgmod-standalone .pgmod-workspace select,body.pgmod-standalone .pgmod-workspace textarea{font-size:14px!important}
body.pgmod-standalone .pgmod-workspace .button,body.pgmod-standalone .pgmod-workspace .button-primary{font-size:13px!important;padding:7px 11px!important;line-height:1.3!important}
body.pgmod-standalone .pgmod-workspace .form-table th,body.pgmod-standalone .pgmod-workspace .form-table td{padding:9px 10px!important;font-size:13px!important}
@media(max-width:700px){body.pgmod-standalone .pgmod-hero{min-height:110px;padding:18px}body.pgmod-standalone .pgmod-hero h1{font-size:23px!important}body.pgmod-standalone .pgmod-workspace{padding:12px}body.pgmod-standalone .pgmod-workspace h2{font-size:20px!important}}


/* v1.5.84 — correzione larghezza: dashboard e moduli sempre a pagina intera.
   Override di eventuali regole di layout esterne e dei form Progetti. */
html:has(body.pgmod-standalone),html:has(body.pgmod-standalone) body{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;overflow-x:hidden!important}
body.pgmod-standalone{display:block!important;position:static!important;float:none!important;max-width:none!important;width:100vw!important;min-width:0!important;padding:0!important;box-sizing:border-box!important}
body.pgmod-standalone main.pgmod-wrap{display:block!important;position:relative!important;float:none!important;clear:both!important;width:calc(100% - 48px)!important;max-width:1600px!important;min-width:0!important;margin:0 auto!important;padding:16px 0 42px!important;box-sizing:border-box!important}
body.pgmod-standalone .pgmod-top,body.pgmod-standalone .pgmod-hero,body.pgmod-standalone .pgmod-workspace{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important}
body.pgmod-standalone .pgmod-top{flex-wrap:wrap!important}
body.pgmod-standalone .pgmod-workspace .pgm-project-form,body.pgmod-standalone .pgmod-workspace form,body.pgmod-standalone .pgmod-workspace .wrap{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important}
body.pgmod-standalone .pgmod-workspace input[type=text],body.pgmod-standalone .pgmod-workspace input[type=url],body.pgmod-standalone .pgmod-workspace textarea,body.pgmod-standalone .pgmod-workspace select{max-width:100%!important;box-sizing:border-box!important}
body.pgmod-standalone .pgmod-workspace .form-table{width:100%!important;max-width:none!important}
body.pgmod-standalone .pgmod-workspace .form-table td{width:auto!important}
body.pgmod-standalone .pgmod-workspace .pgmod-table-wrap{width:100%!important;max-width:none!important}
@media(max-width:700px){body.pgmod-standalone main.pgmod-wrap{width:calc(100% - 24px)!important;padding-top:10px!important}}


/* v1.5.86 — Form Progetti: ritmo verticale, etichette, controlli e sezioni.
   Regole circoscritte alla dashboard, senza alterare le pagine pubbliche. */
body.pgmod-standalone .pgmod-workspace{font-family:Roboto,Arial,sans-serif!important;font-size:13px!important;line-height:1.4!important}
body.pgmod-standalone .pgmod-workspace h2{font-size:21px!important;line-height:1.2!important;margin:0 0 7px!important}
body.pgmod-standalone .pgmod-workspace h3{font-size:17px!important;line-height:1.25!important;margin:14px 0 8px!important}
body.pgmod-standalone .pgmod-workspace p{font-size:13px!important;line-height:1.45!important;margin:0 0 9px!important}
body.pgmod-standalone .pgmod-workspace hr{margin:10px 0!important}
body.pgmod-standalone .pgmod-workspace form label,
body.pgmod-standalone .pgmod-workspace form .pgm-label{display:block;font-size:12px!important;font-weight:650!important;line-height:1.35!important;margin:8px 0 4px!important;letter-spacing:0!important}
body.pgmod-standalone .pgmod-workspace form input[type=text],
body.pgmod-standalone .pgmod-workspace form input[type=url],
body.pgmod-standalone .pgmod-workspace form input[type=email],
body.pgmod-standalone .pgmod-workspace form input[type=number],
body.pgmod-standalone .pgmod-workspace form select{height:36px!important;min-height:36px!important;line-height:1.35!important;padding:6px 12px!important;margin:0 0 4px!important;border-radius:5px!important;font-size:13px!important}
body.pgmod-standalone .pgmod-workspace form textarea{min-height:82px;line-height:1.5!important;padding:9px 12px!important;margin:0 0 4px!important;border-radius:5px!important;font-size:13px!important;resize:vertical}
body.pgmod-standalone .pgmod-workspace form input[type=checkbox],
body.pgmod-standalone .pgmod-workspace form input[type=radio]{margin:0 5px 0 0!important;vertical-align:middle}
body.pgmod-standalone .pgmod-workspace form .description,
body.pgmod-standalone .pgmod-workspace form .hint{font-size:12px!important;line-height:1.4!important;margin:3px 0 7px!important}
body.pgmod-standalone .pgmod-workspace .button,
body.pgmod-standalone .pgmod-workspace .button-primary{min-height:30px!important;line-height:1.3!important;padding:6px 10px!important;font-size:12px!important}
body.pgmod-standalone .pgmod-workspace .pgmod-workspace-nav{margin-bottom:16px!important}
body.pgmod-standalone .pgmod-workspace .pgmod-workspace-nav a{padding:7px 11px!important;line-height:1.25!important}
body.pgmod-standalone .pgmod-workspace .form-table th,
body.pgmod-standalone .pgmod-workspace .form-table td{padding:8px 10px!important;line-height:1.4!important}
body.pgmod-standalone .pgmod-workspace .wp-editor-wrap{margin-top:5px;margin-bottom:12px}
body.pgmod-standalone .pgmod-workspace img{max-width:100%;height:auto}
@media(max-width:700px){body.pgmod-standalone .pgmod-workspace{padding:12px!important}body.pgmod-standalone .pgmod-workspace h2{font-size:19px!important}body.pgmod-standalone .pgmod-workspace h3{font-size:16px!important}}

/* v1.5.87 — pulsanti e controlli Progetti: spaziatura, allineamento e leggibilità */
body.pgmod-standalone .pgmod-workspace .pgm-pr-simple .pgm-pr-layout > aside .pgm-pr-panel{min-width:0}
body.pgmod-standalone .pgmod-workspace .pgm-pr-simple .pgm-pr-layout > aside .pgm-pr-panel > .button-primary,
body.pgmod-standalone .pgmod-workspace .pgm-pr-simple .pgm-pr-layout > aside .pgm-pr-panel > input.button-primary{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;min-height:36px!important;box-sizing:border-box!important;
 padding:8px 12px!important;margin:14px 0 10px!important;
 border:1px solid #0869bd!important;border-radius:7px!important;
 background:#0869bd!important;color:#fff!important;font-size:12px!important;
 font-weight:700!important;line-height:1.35!important;text-align:center!important;
 white-space:normal!important;cursor:pointer!important;
}
body.pgmod-standalone .pgmod-workspace .pgm-pr-simple .pgm-pr-layout > aside .pgm-pr-panel > p{margin:0 0 10px!important;line-height:1.45!important}
body.pgmod-standalone .pgmod-workspace .pgm-pr-simple .pgm-pr-layout > aside .pgm-pr-panel > p > .button{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;min-height:34px!important;box-sizing:border-box!important;
 margin:0!important;padding:7px 10px!important;border-radius:7px!important;
 background:#fff!important;border:1px solid #087ac0!important;color:#0869bd!important;
 font-size:12px!important;font-weight:650!important;text-decoration:none!important;
}
body.pgmod-standalone .pgmod-workspace .pgm-pr-simple .pgm-pr-layout > aside .pgm-pr-panel > p:last-child a{display:inline-block!important;margin-top:5px!important;font-size:12px!important;line-height:1.5!important}
body.pgmod-standalone .pgmod-workspace .pgm-pr-simple .pgm-pr-photo .pgm-pr-pick,
body.pgmod-standalone .pgmod-workspace .pgm-pr-simple .pgm-pr-photo .pgm-pr-remove{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;min-height:32px!important;margin:6px 5px 4px 0!important;
 padding:6px 11px!important;border:1px solid #087ac0!important;
 border-radius:6px!important;background:#fff!important;color:#0869bd!important;
 font-size:12px!important;font-weight:600!important;line-height:1.3!important;
 vertical-align:middle!important;white-space:nowrap!important;cursor:pointer!important;
}
body.pgmod-standalone .pgmod-workspace .pgm-pr-simple .pgm-pr-photo .pgm-pr-remove{border-color:#b7c6d4!important;color:#40536a!important}
body.pgmod-standalone .pgmod-workspace .pgm-pr-simple .pgm-pr-check{display:flex!important;align-items:center!important;gap:7px!important;margin:10px 0!important;line-height:1.4!important}
body.pgmod-standalone .pgmod-workspace .pgm-pr-simple .pgm-pr-check input{flex:none!important;margin:0!important}
@media(max-width:900px){body.pgmod-standalone .pgmod-workspace .pgm-pr-simple .pgm-pr-layout > aside{width:100%!important}}

/* v1.5.88 — Team frontend: stessa scala compatta e pulsanti di Progetti */
body.pgmod-standalone .pgmod-team-workspace .pgm-person-form{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.pgmod-standalone .pgmod-team-workspace .pgm-person-layout{grid-template-columns:minmax(0,1fr) 280px!important;gap:18px!important}
body.pgmod-standalone .pgmod-team-workspace .pgm-person-panel{padding:16px!important;margin:0 0 14px!important;border-radius:9px!important;box-shadow:none!important}
body.pgmod-standalone .pgmod-team-workspace .pgm-person-panel h2{font-size:18px!important;line-height:1.3!important;margin:0 0 12px!important;color:#002c71!important}
body.pgmod-standalone .pgmod-team-workspace .pgm-person-field{margin-bottom:11px!important;min-width:0!important}
body.pgmod-standalone .pgmod-team-workspace .pgm-person-field>label{display:block!important;font-size:12px!important;line-height:1.4!important;margin:0 0 5px!important}
body.pgmod-standalone .pgmod-team-workspace .pgm-person-field input[type=text],body.pgmod-standalone .pgmod-team-workspace .pgm-person-field input[type=number],body.pgmod-standalone .pgmod-team-workspace .pgm-person-field select{height:36px!important;min-height:36px!important;width:100%!important}
body.pgmod-standalone .pgmod-team-workspace .pgm-person-field textarea{width:100%!important;min-height:90px!important;line-height:1.5!important}
body.pgmod-standalone .pgmod-team-workspace .pgm-person-checks{gap:7px!important}
body.pgmod-standalone .pgmod-team-workspace .pgm-person-checks label{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:7px 9px!important;margin:0!important;font-size:12px!important;line-height:1.35!important}
body.pgmod-standalone .pgmod-team-workspace .pgm-person-sidebar .button-primary{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:36px!important;margin:13px 0 10px!important;border-radius:7px!important;background:#0869bd!important;border:1px solid #0869bd!important;color:#fff!important;font-size:12px!important;font-weight:700!important;line-height:1.35!important;cursor:pointer!important}
body.pgmod-standalone .pgmod-team-workspace .pgm-team-pick,body.pgmod-standalone .pgmod-team-workspace .pgm-team-remove{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;margin:5px 5px 5px 0!important;border:1px solid #087ac0!important;border-radius:6px!important;background:#fff!important;color:#0869bd!important;font-size:12px!important;font-weight:600!important;line-height:1.35!important}
body.pgmod-standalone .pgmod-team-workspace .pgm-team-remove{border-color:#b7c6d4!important;color:#40536a!important}
body.pgmod-standalone .pgmod-team-workspace .pgm-team-image-preview{border-radius:7px!important;max-width:140px!important;max-height:110px!important;object-fit:cover!important}
body.pgmod-standalone .pgmod-team-workspace .form-table{border-collapse:collapse!important}
body.pgmod-standalone .pgmod-team-workspace .form-table th{width:210px!important;text-align:left!important;vertical-align:top!important}
body.pgmod-standalone .pgmod-team-workspace .form-table input:not([type=hidden]),body.pgmod-standalone .pgmod-team-workspace .form-table textarea{width:100%!important;max-width:100%!important}
body.pgmod-standalone .pgmod-team-workspace .wrap{margin:0!important;padding:0!important}
body.pgmod-standalone .pgmod-team-workspace .wrap h1{font-size:22px!important;line-height:1.3!important;margin:0 0 10px!important}
body.pgmod-standalone .pgmod-team-workspace .pgmod-team-name{display:flex;align-items:center;gap:10px}
body.pgmod-standalone .pgmod-team-workspace .pgmod-team-avatar{width:42px;height:42px;object-fit:cover;border-radius:7px}
@media(max-width:900px){body.pgmod-standalone .pgmod-team-workspace .pgm-person-layout{grid-template-columns:1fr!important}body.pgmod-standalone .pgmod-team-workspace .pgm-person-fields{grid-template-columns:1fr!important}}
@media(max-width:600px){body.pgmod-standalone .pgmod-team-workspace .form-table th,body.pgmod-standalone .pgmod-team-workspace .form-table td{display:block!important;width:100%!important}}

/* Newsletter frontend: stesso sistema compatto di Progetti e Team */
body.pgmod-standalone .pgmod-newsletter-workspace .wrap{margin:0!important;padding:0!important;max-width:none!important}
body.pgmod-standalone .pgmod-newsletter-workspace .wrap h1{font-size:21px!important;line-height:1.3!important;margin:0 0 14px!important}
body.pgmod-standalone .pgmod-newsletter-workspace .widefat{width:100%;border-collapse:collapse;font-size:13px}
body.pgmod-standalone .pgmod-newsletter-workspace .widefat th,body.pgmod-standalone .pgmod-newsletter-workspace .widefat td{padding:9px 11px;border:1px solid #dae3eb;text-align:left}
body.pgmod-standalone .pgmod-newsletter-workspace .widefat th{background:#edf5fa;color:#173b59}
body.pgmod-standalone .pgmod-newsletter-workspace .pgmod-newsletter-editor{display:flex;flex-direction:column;gap:7px}
body.pgmod-standalone .pgmod-newsletter-workspace .pgmod-newsletter-editor>label{font-weight:600;font-size:12px;margin-top:7px}
body.pgmod-standalone .pgmod-newsletter-workspace .pgmod-newsletter-editor>input,body.pgmod-standalone .pgmod-newsletter-workspace .pgmod-newsletter-editor>select{width:100%;max-width:100%;height:36px;padding:6px 10px}
body.pgmod-standalone .pgmod-newsletter-workspace .pgmod-newsletter-editor .wp-editor-wrap{width:100%}
body.pgmod-standalone .pgmod-newsletter-workspace .pgmod-newsletter-actions{margin-top:20px;padding:16px;border:1px solid #dae3eb;border-radius:8px}
body.pgmod-standalone .pgmod-newsletter-workspace .pgmod-newsletter-actions form{margin:10px 0 16px}
body.pgmod-standalone .pgmod-newsletter-workspace .pgmod-newsletter-actions button{min-height:34px!important}
body.pgmod-standalone .pgmod-newsletter-workspace .form-table{width:100%;border-collapse:collapse}
body.pgmod-standalone .pgmod-newsletter-workspace .form-table th{width:230px;text-align:left;font-size:12px}
body.pgmod-standalone .pgmod-newsletter-workspace .form-table td input:not([type=checkbox]),body.pgmod-standalone .pgmod-newsletter-workspace .form-table td select{min-height:36px;max-width:100%}
@media(max-width:700px){body.pgmod-standalone .pgmod-newsletter-workspace .form-table th,body.pgmod-standalone .pgmod-newsletter-workspace .form-table td{display:block;width:100%}}

/* v1.5.90 — Donazioni e Popup, stesso layout compatto di Progetti/Team/Newsletter */
body.pgmod-standalone .pgmod-donations-workspace .wrap{margin:0!important;padding:0!important;max-width:none!important}
body.pgmod-standalone .pgmod-donations-workspace .wrap h1{font-size:21px!important;line-height:1.3!important;margin:0 0 12px!important;color:#173b59}
body.pgmod-standalone .pgmod-donations-workspace .wrap>p{font-size:13px;line-height:1.5;margin:7px 0 13px}
body.pgmod-standalone .pgmod-donations-workspace .form-table{width:100%;border-collapse:collapse;table-layout:fixed;margin:12px 0}
body.pgmod-standalone .pgmod-donations-workspace .form-table th{width:245px;text-align:left;vertical-align:middle;font-size:12px;font-weight:700}
body.pgmod-standalone .pgmod-donations-workspace .form-table td{vertical-align:middle}
body.pgmod-standalone .pgmod-donations-workspace .form-table td input:not([type=checkbox]):not([type=hidden]),body.pgmod-standalone .pgmod-donations-workspace .form-table td textarea{width:100%;max-width:100%;box-sizing:border-box}
body.pgmod-standalone .pgmod-donations-workspace .form-table td input[type=checkbox]{width:15px;height:15px}
body.pgmod-standalone .pgmod-donations-workspace .form-table td label{display:inline-flex;align-items:center;gap:5px}
body.pgmod-standalone .pgmod-donations-workspace .submit{margin:16px 0 8px;padding:0}
body.pgmod-standalone .pgmod-donations-workspace .submit .button-primary{background:#0869bd!important;border-color:#0869bd!important;color:#fff!important;min-height:36px!important;padding:8px 18px!important;border-radius:6px!important;font-weight:700!important}
body.pgmod-standalone .pgmod-donations-workspace #pgmd-preview img{display:block;max-width:200px;height:auto;border-radius:6px;margin-bottom:8px}
body.pgmod-standalone .pgmod-donations-workspace #pgmd-select,body.pgmod-standalone .pgmod-donations-workspace #pgmd-remove{display:inline-flex;align-items:center;justify-content:center;min-height:34px!important;margin:0 6px 4px 0!important}
@media(max-width:750px){body.pgmod-standalone .pgmod-donations-workspace .form-table,body.pgmod-standalone .pgmod-donations-workspace .form-table tbody,body.pgmod-standalone .pgmod-donations-workspace .form-table tr,body.pgmod-standalone .pgmod-donations-workspace .form-table th,body.pgmod-standalone .pgmod-donations-workspace .form-table td{display:block;width:100%!important;box-sizing:border-box}body.pgmod-standalone .pgmod-donations-workspace .form-table th{padding-bottom:3px!important}body.pgmod-standalone .pgmod-donations-workspace .form-table td{padding-top:3px!important}}

/* v1.5.91 — Bottega Solidale frontend: stessa scala compatta degli altri moduli */
body.pgmod-standalone .pgmod-shop-workspace .wrap{margin:0!important;padding:0!important;max-width:none!important}
body.pgmod-standalone .pgmod-shop-workspace .wrap h1{font-size:21px!important;line-height:1.3!important;margin:0 0 12px!important;color:#173b59}
body.pgmod-standalone .pgmod-shop-workspace .pgs-admin-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,0.75fr)!important;gap:16px!important;align-items:start}
body.pgmod-standalone .pgmod-shop-workspace .pgs-panel{min-width:0!important;padding:16px!important;border-radius:9px!important;box-shadow:none!important;margin:0 0 12px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-panel h2{font-size:17px!important;line-height:1.3!important;margin:0 0 12px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-field{display:block!important;margin:0 0 12px!important;min-width:0!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-field>strong{display:block!important;font-size:12px!important;line-height:1.4!important;margin:0 0 5px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-field input:not([type=checkbox]),body.pgmod-standalone .pgmod-shop-workspace .pgs-field select{width:100%!important;max-width:100%!important;min-height:36px!important;height:36px!important;box-sizing:border-box!important;font-size:13px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-field textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important;min-height:86px!important;line-height:1.5!important;font-size:13px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-image-field{margin:12px 0!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-image-field>strong{display:block!important;font-size:12px!important;margin-bottom:7px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-preview img{max-width:140px!important;max-height:110px!important;object-fit:cover!important;border-radius:7px!important;margin:0 7px 7px 0!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-image-field .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;margin:5px 6px 4px 0!important;padding:5px 11px!important;font-size:12px!important;line-height:1.3!important;border-radius:6px!important}
body.pgmod-standalone .pgmod-shop-workspace .submit{padding:0!important;margin:16px 0 8px!important}
body.pgmod-standalone .pgmod-shop-workspace .submit .button-primary{background:#0869bd!important;border-color:#0869bd!important;color:#fff!important;min-height:36px!important;padding:8px 18px!important;border-radius:6px!important;font-size:12px!important;font-weight:700!important}
body.pgmod-standalone .pgmod-shop-workspace .widefat{width:100%!important;border-collapse:collapse!important;font-size:13px!important}
body.pgmod-standalone .pgmod-shop-workspace .widefat th,body.pgmod-standalone .pgmod-shop-workspace .widefat td{padding:9px 11px!important;border:1px solid #dae3eb!important;text-align:left!important;vertical-align:middle!important}
body.pgmod-standalone .pgmod-shop-workspace .widefat th{background:#edf5fa!important;color:#173b59!important}
body.pgmod-standalone .pgmod-shop-workspace .widefat .button{min-height:30px!important;padding:5px 10px!important;font-size:12px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-panel pre{white-space:pre-wrap!important;overflow-wrap:anywhere!important;line-height:1.5!important;font-size:12px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-panel label{line-height:1.5!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-panel select{min-height:36px!important}
@media(max-width:850px){body.pgmod-standalone .pgmod-shop-workspace .pgs-admin-grid{grid-template-columns:1fr!important}body.pgmod-standalone .pgmod-shop-workspace .widefat{display:block!important;overflow-x:auto!important}}

/* v1.5.92: tabelle Bottega e azioni coerenti con Dashboard Operatore */
body.pgmod-standalone .pgmod-shop-workspace .pgm-shop-admin{font-size:13px!important;line-height:1.45!important}
body.pgmod-standalone .pgmod-shop-workspace .pgm-shop-admin h1{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:20px!important;line-height:1.3!important;margin:0 0 8px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgm-shop-admin h1 .page-title-action{font-size:12px!important;font-weight:700!important;line-height:1.3!important;padding:7px 11px!important;border:1px solid #bdd3e4!important;border-radius:6px!important;text-decoration:none!important}
body.pgmod-standalone .pgmod-shop-workspace .pgm-shop-admin>p{margin:5px 0 12px!important;line-height:1.5!important;font-size:12px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #d8e3ed;border-radius:8px}
body.pgmod-standalone .pgmod-shop-workspace .pgs-table-scroll .widefat{border:0!important;margin:0!important;table-layout:auto!important;min-width:700px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-table-scroll .widefat th{font-size:12px!important;font-weight:700!important;letter-spacing:0!important;padding:10px 12px!important;line-height:1.3!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-table-scroll .widefat td{font-size:12px!important;padding:8px 12px!important;line-height:1.45!important;word-break:normal!important;vertical-align:middle!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-products-table .pgs-col-photo{width:76px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-products-table .pgs-col-photo img{display:block;width:54px!important;height:54px!important;object-fit:cover;border-radius:5px}
body.pgmod-standalone .pgmod-shop-workspace .pgs-products-table .pgs-col-actions{width:250px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-row-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
body.pgmod-standalone .pgmod-shop-workspace .pgs-row-actions .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;min-height:32px!important;padding:6px 10px!important;margin:0!important;border-radius:6px!important;font-size:12px!important;line-height:1.2!important;text-decoration:none!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-row-actions .pgs-action-duplicate{background:#fff!important;border:1px solid #bdd3e4!important;color:#0869bd!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-row-actions .pgs-action-delete{background:#fff!important;border:1px solid #e9b6b6!important;color:#b42318!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-orders-table th:first-child,body.pgmod-standalone .pgmod-shop-workspace .pgs-orders-table td:first-child{width:100px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-orders-table th:last-child,body.pgmod-standalone .pgmod-shop-workspace .pgs-orders-table td:last-child{white-space:nowrap!important;width:170px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-orders-table tbody tr:hover,body.pgmod-standalone .pgmod-shop-workspace .pgs-products-table tbody tr:hover{background:#f1f8fc!important}
@media(max-width:700px){body.pgmod-standalone .pgmod-shop-workspace .pgs-products-table .pgs-col-actions{width:230px!important}}

/* v1.5.93 — Bottega: stessa tabella del modulo Progetti (.pgmod-table) */
body.pgmod-standalone .pgmod-shop-workspace .pgs-table-scroll{border:1px solid #e1e8ee!important;border-radius:8px!important;overflow-x:auto!important;background:#fff!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-table-scroll .widefat{width:100%!important;min-width:650px!important;border:0!important;border-collapse:collapse!important;border-spacing:0!important;box-shadow:none!important;background:#fff!important;font-family:Roboto,Arial,sans-serif!important;font-size:13px!important;line-height:1.4!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-table-scroll .widefat thead th{background:#edf4f8!important;color:#183b58!important;font-size:13px!important;font-weight:700!important;letter-spacing:0!important;padding:9px 11px!important;line-height:1.4!important;border:0!important;border-bottom:1px solid #dce6ec!important;vertical-align:middle!important;text-transform:none!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-table-scroll .widefat tbody td{background:transparent!important;color:#17304b!important;font-size:13px!important;font-weight:400!important;letter-spacing:0!important;padding:9px 11px!important;line-height:1.4!important;border:0!important;border-bottom:1px solid #e6edf0!important;vertical-align:middle!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-table-scroll .widefat tbody tr:nth-child(even){background:#fff!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-table-scroll .widefat tbody tr:hover{background:#f3f9fc!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-table-scroll .widefat tbody tr:last-child td{border-bottom:0!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-table-scroll .widefat td a:not(.button){color:#087ac0!important;font-size:13px!important;text-decoration:none!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-products-table .pgs-col-photo{width:78px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-products-table .pgs-col-photo img{width:48px!important;height:48px!important;object-fit:cover!important;border-radius:6px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-products-table .pgs-col-actions{width:235px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-row-actions{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-row-actions .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-height:30px!important;padding:6px 10px!important;margin:0!important;border-radius:6px!important;font-size:12px!important;font-weight:600!important;line-height:1.3!important;box-shadow:none!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-row-actions .button-primary{background:#0869bd!important;border:1px solid #0869bd!important;color:#fff!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-row-actions .pgs-action-duplicate{background:#fff!important;border:1px solid #bfd4e4!important;color:#0869bd!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-row-actions .pgs-action-delete{background:#fff!important;border:1px solid #e8b9b9!important;color:#b42318!important}
body.pgmod-standalone .pgmod-shop-workspace .pgs-orders-table td:first-child a{font-weight:600!important}
body.pgmod-standalone .pgmod-shop-workspace .pgm-shop-admin h1{font-size:21px!important;line-height:1.2!important;margin-bottom:8px!important}
body.pgmod-standalone .pgmod-shop-workspace .pgm-shop-admin>p{font-size:13px!important;line-height:1.45!important;margin:0 0 10px!important}
@media(max-width:700px){body.pgmod-standalone .pgmod-shop-workspace .pgs-table-scroll .widefat{min-width:680px!important}}

/* v1.5.96 — Eventi: stessa impaginazione compatta di Progetti */
body.pgmod-standalone .pgmod-event-workspace .pgmod-event-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}
body.pgmod-standalone .pgmod-event-workspace .pgmod-event-main,body.pgmod-standalone .pgmod-event-workspace .pgmod-event-sidebar{background:#fff;border:1px solid #dbe5eb;border-radius:10px;padding:20px;min-width:0}
body.pgmod-standalone .pgmod-event-workspace .pgmod-event-main h3,body.pgmod-standalone .pgmod-event-workspace .pgmod-event-sidebar h3{font-size:19px;line-height:1.3;margin:0 0 12px;color:#163652}
body.pgmod-standalone .pgmod-event-workspace .pgmod-event-main h3:not(:first-child){margin-top:22px}
body.pgmod-standalone .pgmod-event-workspace label{display:block;font-size:12px;font-weight:700;line-height:1.4;margin:10px 0 5px;color:#18314b}
body.pgmod-standalone .pgmod-event-workspace input[type=text],body.pgmod-standalone .pgmod-event-workspace input[type=datetime-local],body.pgmod-standalone .pgmod-event-workspace textarea,body.pgmod-standalone .pgmod-event-workspace select{display:block;box-sizing:border-box;width:100%;max-width:none;min-height:36px;padding:8px 12px;border:1px solid #cdd9e3;border-radius:6px;background:#fff;color:#17304b;font-size:13px;line-height:1.45}
body.pgmod-standalone .pgmod-event-workspace textarea{min-height:86px;resize:vertical}
body.pgmod-standalone .pgmod-event-workspace .pgmod-event-sidebar>a{display:block;margin-top:12px;font-size:13px;text-decoration:none;color:#087ac0}
body.pgmod-standalone .pgmod-event-workspace .pgmod-event-save{display:block;width:100%;margin-top:16px;min-height:36px;background:#0869bd;color:#fff;border:1px solid #0869bd}
body.pgmod-standalone .pgmod-event-workspace #pgmod-event-photo-preview img{display:block;max-width:160px;max-height:130px;width:auto;height:auto;object-fit:cover;border-radius:6px;margin:8px 0}
body.pgmod-standalone .pgmod-event-workspace .pgmod-event-photo-actions{display:flex;gap:7px;flex-wrap:wrap}
body.pgmod-standalone .pgmod-event-workspace .pgmod-event-photo-actions .button{min-height:32px;font-size:12px;padding:5px 10px}
body.pgmod-standalone .pgmod-event-workspace .pgmod-table th,body.pgmod-standalone .pgmod-event-workspace .pgmod-table td{font-size:13px;padding:9px 11px;line-height:1.4}
body.pgmod-standalone .pgmod-event-workspace .pgmod-event-actions{white-space:nowrap}
@media(max-width:850px){body.pgmod-standalone .pgmod-event-workspace .pgmod-event-layout{grid-template-columns:1fr}}

/* v1.5.98 — Pagina Contatti: stile identico ai form Progetti/Eventi */
body.pgmod-standalone .pgmod-contact-workspace .pgmod-contact-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}
body.pgmod-standalone .pgmod-contact-workspace .pgmod-contact-main,body.pgmod-standalone .pgmod-contact-workspace .pgmod-contact-sidebar{background:#fff;border:1px solid #dbe5eb;border-radius:10px;padding:20px;min-width:0}
body.pgmod-standalone .pgmod-contact-workspace h3{font-size:19px;line-height:1.3;margin:0 0 14px;color:#163652}
body.pgmod-standalone .pgmod-contact-workspace .pgmod-contact-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
body.pgmod-standalone .pgmod-contact-workspace .pgmod-contact-wide{grid-column:1/-1}
body.pgmod-standalone .pgmod-contact-workspace label{display:block;font-size:12px;font-weight:700;line-height:1.4;margin:0 0 5px;color:#18314b}
body.pgmod-standalone .pgmod-contact-workspace input,body.pgmod-standalone .pgmod-contact-workspace textarea{display:block;box-sizing:border-box;width:100%;max-width:none;min-height:36px;padding:8px 12px;border:1px solid #cdd9e3;border-radius:6px;background:#fff;color:#17304b;font-size:13px;line-height:1.45}
body.pgmod-standalone .pgmod-contact-workspace textarea{min-height:86px;resize:vertical}
body.pgmod-standalone .pgmod-contact-workspace .pgmod-contact-sidebar p{font-size:13px;line-height:1.5;color:#52687a}
body.pgmod-standalone .pgmod-contact-workspace .pgmod-contact-save{display:block;width:100%;margin:16px 0;min-height:36px;background:#0869bd;color:#fff;border:1px solid #0869bd}
body.pgmod-standalone .pgmod-contact-workspace .pgmod-contact-media{display:flex;gap:7px;margin-top:8px;flex-wrap:wrap}
body.pgmod-standalone .pgmod-contact-workspace .pgmod-contact-media .button{min-height:32px;font-size:12px;padding:5px 10px}
body.pgmod-standalone .pgmod-contact-workspace #pgmod-contact-preview img{display:block;max-width:160px;max-height:130px;object-fit:cover;border-radius:6px;margin:8px 0}
@media(max-width:850px){body.pgmod-standalone .pgmod-contact-workspace .pgmod-contact-layout{grid-template-columns:1fr}}
@media(max-width:600px){body.pgmod-standalone .pgmod-contact-workspace .pgmod-contact-fields{grid-template-columns:1fr}}

/* v1.5.99 — Organizzazione e Trasparenza: stessa UI di Progetti e Contatti */
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 15px}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel{background:#fff;border:1px solid #e1e8ef;border-radius:9px;padding:17px 18px;margin:0 0 14px}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel h3{font-size:15px;line-height:1.35;margin:0 0 14px;color:#123e6c}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel p{font-size:12px;line-height:1.5}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-contact-fields{gap:13px 15px}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-docs{display:grid;gap:9px}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-doc{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(100px,.45fr) minmax(0,1.3fr);gap:12px;padding:10px 0;border-bottom:1px solid #e7edf3;align-items:end}
body.pgmod-standalone .pgmod-transparency-workspace .pgm-tr-media-field{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
body.pgmod-standalone .pgmod-transparency-workspace .pgm-tr-media-name{font-size:12px;overflow-wrap:anywhere;flex:1;min-width:100px}
body.pgmod-standalone .pgmod-transparency-workspace .pgm-tr-media-field .button{min-height:32px;padding:5px 10px;font-size:12px}
@media(max-width:850px){body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-doc{grid-template-columns:1fr}}

/* v1.6.00 — Organizzazione e Trasparenza: due colonne, tipografia leggibile */
@media (min-width: 1050px) {
 body.pgmod-standalone .pgmod-transparency-workspace .pgmod-contact-main {
  display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;align-content:start !important;align-items:start !important;
 }
 body.pgmod-standalone .pgmod-transparency-workspace .pgmod-contact-main > .pgmod-transparency-panel {margin:0 !important;min-width:0 !important;}
 body.pgmod-standalone .pgmod-transparency-workspace .pgmod-contact-main > .pgmod-transparency-panel:has(.pgmod-transparency-docs) {grid-column:1/-1 !important;}
}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel {padding:20px 22px !important;border-radius:9px !important;box-sizing:border-box !important;}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel h3 {font-size:17px !important;line-height:1.4 !important;letter-spacing:0 !important;margin:0 0 15px !important;font-weight:700 !important;}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel .pgmod-contact-fields {display:grid !important;grid-template-columns:minmax(0,1fr) !important;gap:13px !important;}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel .pgmod-contact-field {min-width:0 !important;width:100% !important;max-width:none !important;grid-column:auto !important;}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel label {display:block !important;font-size:13px !important;line-height:1.45 !important;font-weight:650 !important;margin:0 0 6px !important;color:#17314c !important;}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel input:not([type=hidden]),body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel textarea,body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel select {box-sizing:border-box !important;display:block !important;width:100% !important;min-width:0 !important;max-width:100% !important;font-size:13px !important;line-height:1.5 !important;color:#19344f !important;padding:9px 12px !important;border:1px solid #cbd7e2 !important;border-radius:6px !important;background:#fff !important;letter-spacing:0 !important;}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel input:not([type=hidden]),body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel select {height:38px !important;min-height:38px !important;}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel textarea {min-height:98px !important;resize:vertical !important;}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel input:focus,body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel textarea:focus {outline:2px solid #83b8e7 !important;outline-offset:1px !important;}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel p {font-size:13px !important;line-height:1.55 !important;}
body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-doc {grid-template-columns:minmax(0,1.1fr) 130px minmax(0,1.2fr) !important;}
@media (max-width:1049px) {body.pgmod-standalone .pgmod-transparency-workspace .pgmod-contact-main {display:block !important;} }
@media (max-width:700px) {body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-panel {padding:15px !important;}body.pgmod-standalone .pgmod-transparency-workspace .pgmod-transparency-doc {grid-template-columns:1fr !important;}}

/* v1.6.01 — Aspetto del sito: stessa UI a due colonne di Trasparenza */
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-appearance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-transparency-panel{margin:0!important;min-width:0}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-contact-fields{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-contact-field{min-width:0;width:100%;grid-column:auto!important}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-contact-field input:not([type=hidden]),body.pgmod-standalone .pgmod-appearance-workspace .pgmod-contact-field select,body.pgmod-standalone .pgmod-appearance-workspace .pgmod-contact-field textarea{width:100%;max-width:100%;box-sizing:border-box;min-height:38px;border:1px solid #cbd7e2;border-radius:6px;padding:9px 12px;font-size:13px;line-height:1.5;background:#fff;color:#19344f}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-contact-field label{font-size:13px;line-height:1.45;margin-bottom:6px;font-weight:650}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-appearance-preview img{max-width:100%;max-height:110px;object-fit:contain;border-radius:6px;margin:5px 0 8px}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-appearance-media-buttons{display:flex;gap:8px;flex-wrap:wrap}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-appearance-media-buttons button{font-size:12px;min-height:32px}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-appearance-check{display:flex;gap:8px;align-items:flex-start;margin:12px 0;font-size:13px;line-height:1.5;font-weight:600}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-appearance-check input{width:16px;height:16px;flex:0 0 16px;margin:2px 0 0}
@media(max-width:1100px){body.pgmod-standalone .pgmod-appearance-workspace .pgmod-appearance-grid{grid-template-columns:1fr}}

/* v1.6.02 — Aspetto del sito: tre colonne effettive, senza ereditarietà del grid Trasparenza */
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-contact-layout > .pgmod-contact-main{display:block!important;min-width:0!important;width:100%!important;max-width:none!important}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-appearance-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:start!important;width:100%!important;max-width:none!important;min-width:0!important}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-appearance-grid > .pgmod-transparency-panel{min-width:0!important;width:auto!important;max-width:none!important;grid-column:auto!important;box-sizing:border-box!important}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-appearance-grid .pgmod-contact-fields{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
body.pgmod-standalone .pgmod-appearance-workspace .pgmod-appearance-grid .pgmod-contact-field{min-width:0!important;max-width:100%!important}
@media (max-width:1250px){body.pgmod-standalone .pgmod-appearance-workspace .pgmod-appearance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:780px){body.pgmod-standalone .pgmod-appearance-workspace .pgmod-appearance-grid{grid-template-columns:minmax(0,1fr)!important}}

/* v1.6.17: keep logout visible even if an icon font is unavailable. */
body.pgmod-standalone .pgmod-user a[aria-label="Esci"]{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;white-space:nowrap;min-height:36px;padding:7px 12px;border:1px solid #cbdce9;border-radius:9px;background:#fff;color:#153c68!important;font-size:13px;font-weight:700;text-decoration:none!important}
body.pgmod-standalone .pgmod-user a[aria-label="Esci"]:hover{background:#eaf5ff}
body.pgmod-standalone .pgmod-user a[aria-label="Esci"] .dashicons{font-size:18px;width:18px;height:18px}

/* Standard mobile PGM: single outer gutter, header separation. */
@media(max-width:767px){
 body.pgmod-standalone main.pgmod-wrap{width:100%!important;max-width:100%!important;padding:0 0 42px!important;margin:0 auto!important;box-sizing:border-box!important}
 body.pgmod-standalone .pgmod-top{padding-inline:0!important;margin-bottom:0!important}
 body.pgmod-standalone .pgmod-workspace{padding-inline:0!important;border-inline:0!important;min-width:0!important}
 body.pgmod-standalone .pgmod-workspace .wrap{margin-inline:0!important}
}
.pgmod-event-side-stack{min-width:0;display:flex;flex-direction:column;gap:14px}.pgm-format-guide{font-size:12px}.pgm-guide-item{border-top:1px solid #e1e8ed;padding:10px 0}.pgm-guide-code{display:flex;align-items:center;justify-content:space-between;gap:4px;background:#f1f5f9;padding:5px;border-radius:5px;margin:5px 0}.pgm-guide-code code{overflow-wrap:anywhere}.pgm-guide-copy{font-size:11px;cursor:pointer}.pgm-guide-preview h2{font-size:17px!important}.pgm-guide-preview h3{font-size:14px!important}.pgm-guide-preview p,.pgm-guide-preview ul,.pgm-guide-preview ol{margin:4px 0!important}

/* Security center: scoped presentation only */
.pgsec {font-family:Roboto,Arial,sans-serif;letter-spacing:normal!important;color:#172b3d;}
.pgsec .pgsec-header {margin:18px 0 22px;}
.pgsec .pgsec-header h2 {font-size:28px!important;margin:0 0 8px;letter-spacing:normal!important;}
.pgsec p,.pgsec label,.pgsec td,.pgsec th,.pgsec select,.pgsec button {font-size:16px!important;letter-spacing:normal!important;line-height:1.5;}
.pgsec .pgsec-header p,.pgsec .pgsec-count {color:#526477;margin:0;}
.pgsec .pgsec-kpis {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px;}
.pgsec .pgsec-kpi {background:#fff;border:1px solid #dce4ea;border-top:4px solid #64748b;border-radius:12px;padding:20px;min-width:0;}
.pgsec .pgsec-kpi strong {font-size:34px;line-height:1.2;display:block;}
.pgsec .pgsec-kpi p {margin:8px 0 0;}
.pgsec .pgsec-kpi.pgsec-login {border-top-color:#238b45;color:#176b35;}
.pgsec .pgsec-kpi.pgsec-form_block {border-top-color:#d97706;}
.pgsec .pgsec-kpi.pgsec-otp_block,.pgsec .pgsec-kpi.pgsec-denied {border-top-color:#c53030;}
.pgsec .pgsec-panels {display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px;}
.pgsec .pgsec-panel {background:#fff;border:1px solid #dce4ea;border-radius:12px;padding:20px;min-width:0;}
.pgsec .pgsec-panel h3 {font-size:20px!important;letter-spacing:normal!important;margin:0 0 14px;}
.pgsec .pgsec-settings {display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;}
.pgsec .pgsec-settings label {flex:1;min-width:150px;}
.pgsec .pgsec-settings select {display:block;width:100%;margin-top:6px;min-height:44px;}
.pgsec .pgsec-settings button {min-height:44px;margin:0;}
.pgsec .pgsec-clear {color:#176b35;background:#edf8ef;padding:12px;border-radius:8px;margin:0;}
.pgsec .pgsec-table {overflow-x:auto;margin-top:16px;}
.pgsec .pgsec-table table {width:100%;border-collapse:collapse;}
.pgsec .pgsec-table th {background:#eef3f7;text-align:left;}
.pgsec .pgsec-table td,.pgsec .pgsec-table th {padding:12px!important;vertical-align:middle;}
.pgsec .pgsec-table .pgsec-empty {text-align:center;color:#64748b;padding:28px!important;}
.pgsec .pgsec-tag {display:inline-block;border-radius:6px;padding:4px 8px;background:#eef3f7;}
.pgsec .pgsec-tag.pgsec-login,.pgsec .pgsec-tag.pgsec-unblock {background:#e8f5eb;color:#176b35;}
.pgsec .pgsec-tag.pgsec-denied,.pgsec .pgsec-tag.pgsec-otp_block,.pgsec .pgsec-tag.pgsec-form_block,.pgsec .pgsec-tag.pgsec-upload_block {background:#fff0ef;color:#a32222;}
@media(max-width:1000px){.pgsec .pgsec-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:767px){.pgsec .pgsec-panels{grid-template-columns:1fr;}.pgsec .pgsec-panel,.pgsec .pgsec-kpi{padding:12px;}.pgsec .pgsec-kpis{gap:8px;}.pgsec .pgsec-kpi strong{font-size:28px;}.pgsec .pgsec-header h2{font-size:24px!important;}}
