:root{--wce-orange:#E85D32;--wce-black:#171717;--wce-muted:#6d6d72;--wce-border:#e7e7ea;--wce-bg:#f6f6f7;--wce-page-bg:#ededf0;--wce-white:#fff}
body.wce-portal-page{margin:0!important;background:var(--wce-page-bg)!important;overflow-x:hidden}
body.wce-portal-page #page,body.wce-portal-page .site,body.wce-portal-page .site-main,body.wce-portal-page main{max-width:none!important;width:100%;margin:0!important;padding:0!important;background:transparent!important}
.wce-portal-shell{display:flex;width:calc(100% - 32px);min-height:calc(100vh - 32px);margin:16px auto;background:var(--wce-bg);color:var(--wce-black);font-family:inherit;border-radius:18px;overflow:hidden;box-shadow:0 14px 44px rgba(0,0,0,.10)}
body.admin-bar.wce-portal-page .wce-portal-shell{min-height:calc(100vh - 64px)}
.wce-sidebar{width:245px;background:#111;color:#fff;padding:28px 18px;display:flex;flex-direction:column;position:relative;flex:0 0 245px}.wce-sidebar-brand>a{display:block;padding:0!important;background:transparent!important}.wce-sidebar-brand img{width:165px;max-height:75px;object-fit:contain;margin:0 auto 30px;display:block}.wce-sidebar nav{display:flex;flex-direction:column;gap:5px}.wce-sidebar a{color:#d9d9dc;text-decoration:none;padding:12px 14px;border-radius:9px;display:flex;align-items:center;gap:11px;font-size:15px}.wce-nav-label{min-width:0}.wce-sidebar .wce-nav-label{flex:1}.wce-nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:var(--wce-orange);color:#fff;font-size:11px;font-weight:800;line-height:1}.wce-sidebar a.active .wce-nav-badge,.wce-sidebar a:hover .wce-nav-badge{background:#fff;color:var(--wce-orange)}.wce-sidebar a.active,.wce-sidebar nav a:hover{background:var(--wce-orange);color:#fff}.wce-sidebar-footer{margin-top:auto;padding-top:18px;border-top:1px solid #333;display:flex;flex-direction:column;gap:3px}.wce-sidebar-footer a{padding:9px 8px;font-size:13px;border-radius:7px}.wce-sidebar-footer a:hover{background:#242424;color:#fff}.wce-sidebar-footer .dashicons{font-size:17px;width:17px;height:17px}
.wce-main{flex:1;min-width:0}.wce-topbar{background:#fff;border-bottom:1px solid var(--wce-border);padding:22px 30px;display:flex;justify-content:space-between;align-items:center}.wce-topbar h1{font-size:26px;line-height:1.2;margin:0}.wce-topbar span{color:var(--wce-muted);font-size:14px}.wce-avatar{border-radius:50%!important;object-fit:cover;aspect-ratio:1/1;background:#eee}.wce-content{padding:30px;max-width:1250px;margin:0 auto}.wce-welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.wce-welcome h2{margin:0 0 4px;font-size:28px}.wce-welcome p{margin:0;color:var(--wce-muted)}
.wce-button,button.wce-button,input.wce-button,input[type=submit].wce-button{box-sizing:border-box;appearance:none;-webkit-appearance:none;border:1px solid var(--wce-orange)!important;background:var(--wce-orange)!important;color:#fff!important;text-decoration:none!important;border-radius:8px;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;cursor:pointer;line-height:1.2;min-height:46px;box-shadow:none!important}.wce-button:hover,.wce-button:focus,button.wce-button:hover,button.wce-button:focus,input.wce-button:hover,input.wce-button:focus,input[type=submit].wce-button:hover,input[type=submit].wce-button:focus{background:#d94f24!important;border-color:#d94f24!important;color:#fff!important;filter:none;outline:none}.wce-button:visited{color:#fff!important}.wce-button-secondary,button.wce-button-secondary,input.wce-button-secondary{background:#1f1f1f!important;border-color:#1f1f1f!important}.wce-button-secondary:hover,.wce-button-secondary:focus{background:#111!important;border-color:#111!important}.wce-button-compact{min-height:40px;padding:9px 14px;font-size:13px;white-space:nowrap}.wce-text-link{display:inline-block;margin-top:15px;color:var(--wce-orange)}
.wce-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.wce-stat,.wce-card,.wce-form-card,.wce-material-card{background:#fff;border:1px solid var(--wce-border);border-radius:13px;box-shadow:0 3px 16px rgba(0,0,0,.025)}.wce-stat{padding:20px}.wce-stat span{display:block;color:var(--wce-muted);font-size:13px;margin-bottom:8px}.wce-stat strong{font-size:25px}.wce-card{padding:24px;margin-bottom:20px}.wce-card h2,.wce-card h3{margin-top:0}.wce-card-head{display:flex;justify-content:space-between;align-items:center}.wce-card-head a{color:var(--wce-orange)}.wce-progress{height:10px;background:#ececef;border-radius:99px;overflow:hidden}.wce-progress span{display:block;height:100%;background:var(--wce-orange);border-radius:99px}
.wce-tabs{display:flex;gap:8px;margin-bottom:18px}.wce-tabs button{appearance:none;-webkit-appearance:none;border:1px solid var(--wce-border)!important;background:#fff!important;color:var(--wce-black)!important;padding:11px 17px;border-radius:8px;cursor:pointer;box-shadow:none!important}.wce-tabs button:hover,.wce-tabs button:focus{background:var(--wce-orange)!important;border-color:var(--wce-orange)!important;color:#fff!important;outline:none}.wce-tabs button.active{background:#111!important;color:#fff!important;border-color:#111!important}.wce-tabs button.active:hover,.wce-tabs button.active:focus{background:#111!important;border-color:#111!important;color:#fff!important}.wce-form-card{display:none;padding:26px}.wce-form-card.active{display:block}.wce-field{display:flex;flex-direction:column;gap:7px;font-weight:600;margin:16px 0}.wce-field input,.wce-field select,.wce-field textarea{width:100%;box-sizing:border-box;border:1px solid #d8d8dc;border-radius:8px;padding:11px 12px;background:#fff;font:inherit}.wce-field-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.wce-checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 18px}.wce-checkbox-grid label{border:1px solid var(--wce-border);padding:13px;border-radius:9px;display:flex;gap:12px;align-items:flex-start;cursor:pointer}.wce-checkbox-grid label>span{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15}.wce-checkbox-grid strong{display:block;line-height:1.2}.wce-checkbox-grid small{display:block;color:var(--wce-muted);font-weight:400;margin-top:5px;line-height:1.2}.wce-estimate{background:#fff3ee;border-left:4px solid var(--wce-orange);padding:13px 15px;margin:18px 0;border-radius:4px;font-weight:600}.wce-form-card h2{font-size:32px;line-height:1.18;margin:0 0 14px}.wce-form-card>p{line-height:1.55;margin:0 0 18px}.wce-field input[type=date],.wce-field input[type=time]{font-size:16px!important;line-height:1.25!important;min-height:48px!important;height:48px!important;text-align:left!important;max-width:100%!important;min-width:0!important;padding:11px 12px!important}.wce-field input[type=date]::-webkit-date-and-time-value,.wce-field input[type=time]::-webkit-date-and-time-value{text-align:left!important;min-height:1.25em}.wce-form-actions{margin-top:18px;display:flex;justify-content:flex-start}.wce-form-actions .wce-button{min-width:210px}.wce-alert{padding:14px 16px;border-radius:8px;margin-bottom:18px}.wce-alert-success{background:#e9f8ef;color:#145c31}.wce-alert-error{background:#fff0f0;color:#8b1c1c}
.wce-table-wrap{overflow:auto}.wce-table{border-collapse:collapse;width:100%;min-width:680px}.wce-table th,.wce-table td{text-align:left;padding:13px 11px;border-bottom:1px solid var(--wce-border);font-size:14px}.wce-table th{color:var(--wce-muted);font-size:12px;text-transform:uppercase;letter-spacing:.04em}.wce-status{display:inline-block;padding:5px 9px;border-radius:99px;font-size:12px;font-weight:700}.wce-status-pending{background:#fff4d8;color:#7f5a00}.wce-status-approved{background:#e7f7ed;color:#17663a}.wce-status-rejected{background:#fdeaea;color:#8d2424}.wce-status-deduction{background:#fff0e9;color:#9a3c1d}.wce-activity-deduction td{background:#fffaf7}.wce-activity-deduction td:nth-child(4){color:#9a3c1d}
.wce-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.wce-material-card{padding:22px;color:inherit!important;text-decoration:none!important;display:flex;flex-direction:column;min-height:185px}.wce-material-card h3{margin:13px 0 8px}.wce-material-card p{color:var(--wce-muted);flex:1}.wce-material-card>div{display:flex;justify-content:space-between;gap:10px;align-items:end}.wce-material-card strong{color:var(--wce-orange)}.wce-material-badge{display:inline-block;background:#111;color:#fff;border-radius:99px;padding:5px 9px;font-size:11px;width:max-content}.wce-video{width:100%;max-height:620px;background:#000;border-radius:10px;margin:15px 0}.wce-back{display:inline-block;margin-bottom:15px;color:var(--wce-orange)}.wce-terms{max-width:800px}
.wce-notification-list{display:flex;flex-direction:column}.wce-notification-head{align-items:flex-start;gap:22px;margin-bottom:12px}.wce-notification-help{max-width:760px;color:var(--wce-muted);margin:6px 0 0;line-height:1.55}.wce-notification{padding:17px 12px;border-bottom:1px solid var(--wce-border);display:grid;gap:7px;color:inherit!important;text-decoration:none!important;border-radius:9px;transition:background .15s ease}.wce-notification:hover{background:#f8f8fa}.wce-notification.unread{border-left:4px solid var(--wce-orange);padding-left:14px;background:#fff8f5}.wce-notification-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.wce-notification-state{display:inline-flex;align-items:center;gap:6px;color:var(--wce-muted);font-size:11px;font-weight:700;white-space:nowrap}.wce-notification-state.new{color:#a73c1b}.wce-notification-state i{width:8px;height:8px;border-radius:50%;background:var(--wce-orange);display:inline-block}.wce-notification>span,.wce-notification>small{color:var(--wce-muted)}.wce-profile-grid{display:grid;grid-template-columns:1fr 2fr;gap:18px}.wce-profile-grid .wce-avatar{display:block;margin:0 0 24px}.wce-profile-photo-form{margin-top:22px}.wce-upload-label{display:block;font-weight:700;margin-bottom:9px}.wce-profile-photo-form input[type=file]{display:block;width:100%;box-sizing:border-box;padding:10px;border:1px solid var(--wce-border);border-radius:8px;background:#fafafa}.wce-profile-photo-form .wce-form-actions{margin-top:16px}.wce-remove-photo{margin-top:18px}.wce-definition{display:grid;grid-template-columns:160px 1fr;gap:9px 15px}.wce-definition dt{color:var(--wce-muted)}.wce-definition dd{margin:0;font-weight:600}.wce-profile-actions{margin-top:28px;padding-top:22px;border-top:1px solid var(--wce-border)}.wce-toggle-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--wce-border);padding:16px 2px}.wce-email-preferences-form{margin-top:18px}.wce-email-preferences-form .wce-form-actions{margin-top:28px;padding-top:22px;border-top:1px solid var(--wce-border)}.wce-mobile-nav{display:none}
.wce-login-wrap{width:calc(100% - 32px);min-height:calc(100vh - 32px);margin:16px auto;background:#111;display:grid;place-items:center;padding:30px;border-radius:18px;box-sizing:border-box;box-shadow:0 14px 44px rgba(0,0,0,.12)}
body.admin-bar.wce-portal-page .wce-login-wrap{min-height:calc(100vh - 64px)}.wce-login-card{width:min(420px,100%);background:#fff;border-radius:16px;padding:34px;box-sizing:border-box;text-align:center}.wce-login-logo-link{display:inline-block;line-height:0}.wce-login-logo{width:220px;max-height:100px;object-fit:contain}.wce-login-card h1{margin:12px 0 2px}.wce-login-card>p{color:var(--wce-muted);margin-top:0}.wce-login-card label{display:block;text-align:left;font-weight:600;margin:12px 0 6px}.wce-login-card input[type=text],.wce-login-card input[type=email],.wce-login-card input[type=password]{width:100%;padding:12px;border:1px solid #d7d7da;border-radius:8px;box-sizing:border-box}.wce-login-card .login-remember label{font-weight:400}.wce-login-card input[type=submit]{width:100%;background:var(--wce-orange);border:0;color:#fff;padding:12px;border-radius:8px;font-weight:700;cursor:pointer}.wce-login-card a{color:var(--wce-orange)}.wce-login-back{margin-top:16px;padding-top:15px;border-top:1px solid var(--wce-border);display:flex!important;align-items:center;justify-content:center;gap:5px;text-decoration:none}.wce-login-back:hover{text-decoration:underline}.wce-login-back .dashicons{font-size:18px;width:18px;height:18px}
@media(max-width:900px){.wce-sidebar{display:none}.wce-content{padding:20px 16px 85px}.wce-topbar{padding:18px 16px}.wce-topbar h1{font-size:22px}.wce-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wce-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wce-mobile-nav{position:fixed;z-index:999;display:flex;bottom:0;left:0;right:0;background:#111;padding:8px 4px max(8px,env(safe-area-inset-bottom));justify-content:space-around}.wce-mobile-nav a{color:#cfcfd2;text-decoration:none;display:flex;flex:1;min-width:0;position:relative;flex-direction:column;align-items:center;font-size:9px;gap:2px;padding:5px 2px}.wce-mobile-nav .wce-nav-badge{position:absolute;top:0;left:calc(50% + 6px);min-width:17px;height:17px;padding:0 4px;font-size:9px}.wce-mobile-nav a.active{color:var(--wce-orange)}.wce-mobile-nav .dashicons{font-size:22px}.wce-profile-grid{grid-template-columns:1fr}}
@media(max-width:782px){body.admin-bar.wce-portal-page .wce-portal-shell,body.admin-bar.wce-portal-page .wce-login-wrap{min-height:calc(100vh - 46px)}}
@media(max-width:600px){body.wce-portal-page{background:var(--wce-bg)!important}.wce-portal-shell{width:100%;margin:0;border-radius:0;min-height:100vh;box-shadow:none}.wce-welcome{align-items:flex-start;gap:15px}.wce-welcome h2{font-size:23px}.wce-stat-grid{grid-template-columns:1fr 1fr;gap:10px}.wce-stat{padding:15px}.wce-stat strong{font-size:20px}.wce-checkbox-grid,.wce-field-row,.wce-material-grid{grid-template-columns:1fr}.wce-form-card,.wce-card{padding:19px}.wce-form-card h2{font-size:29px;line-height:1.15}.wce-form-card form,.wce-field{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.wce-form-card{overflow:hidden}.wce-form-card fieldset{min-width:0;max-width:100%;box-sizing:border-box;padding:12px}.wce-checkbox-grid label{padding:15px}.wce-checkbox-grid small{margin-top:6px}.wce-field input[type=date],.wce-field input[type=time]{display:flex!important;align-items:center!important;inline-size:100%!important;width:100%!important;max-inline-size:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;-webkit-appearance:none!important;appearance:none!important;margin:0!important;font-size:16px!important;line-height:normal!important;height:50px!important;min-height:50px!important;text-align:left!important;padding:0 12px!important;border-radius:8px!important;overflow:hidden!important}.wce-field input[type=date]::-webkit-datetime-edit,.wce-field input[type=time]::-webkit-datetime-edit{display:flex!important;align-items:center!important;height:100%!important;min-height:100%!important;padding:0!important}.wce-field input[type=date]::-webkit-date-and-time-value,.wce-field input[type=time]::-webkit-date-and-time-value{display:flex!important;align-items:center!important;height:100%!important;min-height:100%!important;text-align:left!important;font-size:16px!important;line-height:normal!important;min-width:0!important;margin:0!important}.wce-definition{grid-template-columns:1fr}.wce-definition dt{margin-top:8px}.wce-login-wrap{width:100%;margin:0;min-height:100vh;border-radius:0;padding:18px;box-shadow:none}.wce-login-card{padding:25px 20px}}

@media(max-width:700px){.wce-notification-head{flex-direction:column}.wce-notification-title-row{flex-direction:column;gap:7px}.wce-notification-state{white-space:normal}.wce-notification-head .wce-button{width:100%}.wce-profile-actions .wce-button,.wce-profile-photo-form .wce-button,.wce-email-preferences-form .wce-button{width:100%}}
.wce-status-paid{background:#e8f4ff;color:#185a86}.wce-activity-payment td{background:#f8fcff}.wce-activity-payment td:nth-child(4){color:#185a86}.wce-export-card{margin-bottom:22px}.wce-export-card>p{color:var(--wce-muted);margin-top:-4px}.wce-export-form{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.wce-export-period{margin:0;min-width:220px}.wce-export-actions{margin-top:0;gap:10px;flex-wrap:wrap}.wce-export-actions .wce-button{min-width:150px}.wce-banking-form{max-width:760px}.wce-banking-form .wce-form-actions{margin-top:22px;padding-top:20px;border-top:1px solid var(--wce-border)}
@media(max-width:700px){.wce-export-form{display:block}.wce-export-period{min-width:0}.wce-export-actions{display:grid;grid-template-columns:1fr;gap:10px}.wce-export-actions .wce-button,.wce-banking-form .wce-button{width:100%}}

.wce-status-promotion{background:#fff0e9;color:#9a3c1d}.wce-activity-promotion td{background:#fffaf7}.wce-activity-promotion td:nth-child(2),.wce-activity-promotion td:nth-child(3){color:#9a3c1d}

/* 0.6.6-alpha – programmi tecnici cumulativi nella sezione Materiali */
.wce-technical-programs{border-top:4px solid var(--wce-orange)}
.wce-technical-programs-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}
.wce-technical-programs-head h2{margin:4px 0 7px;font-size:28px}.wce-technical-programs-head p{max-width:760px;margin:0;color:var(--wce-muted);line-height:1.55}
.wce-technical-programs-kicker{display:block;color:var(--wce-orange);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.wce-technical-programs-count{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:99px;background:#171717;color:#fff;font-size:12px;font-weight:800;white-space:nowrap}
.wce-technical-program-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.wce-technical-program-card{display:flex;min-width:0;min-height:155px;box-sizing:border-box;flex-direction:column;padding:18px;border:1px solid var(--wce-border);border-radius:12px;background:#fff;color:var(--wce-black)!important;text-decoration:none!important;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.wce-technical-program-card:hover,.wce-technical-program-card:focus{border-color:var(--wce-orange);box-shadow:0 8px 22px rgba(0,0,0,.07);outline:0;transform:translateY(-1px)}
.wce-technical-program-card.is-next{border:2px solid var(--wce-orange);background:#fff8f5}
.wce-technical-program-card-badge{align-self:flex-start;margin-bottom:13px;padding:4px 8px;border-radius:99px;background:#171717;color:#fff;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.wce-technical-program-card.is-next .wce-technical-program-card-badge{background:var(--wce-orange)}
.wce-technical-program-card>strong{font-size:17px;line-height:1.25}.wce-technical-program-card>small{margin:6px 0 18px;color:var(--wce-muted);overflow-wrap:anywhere}
.wce-technical-program-open{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;color:var(--wce-orange);font-weight:800}
@media(max-width:900px){.wce-technical-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.wce-technical-programs-head{display:block}.wce-technical-programs-count{margin-top:14px}.wce-technical-program-grid{grid-template-columns:1fr}.wce-technical-program-card{min-height:145px}}

/* 0.1.14-alpha: rifiniture responsive Profilo ed Esportazioni */
.wce-profile-grid,.wce-profile-grid>.wce-card,.wce-profile-grid .wce-definition,.wce-profile-grid .wce-profile-photo-form{min-width:0;max-width:100%;box-sizing:border-box}
.wce-definition dd{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.wce-profile-photo-form input[type=file]{max-width:100%;min-width:0;overflow:hidden}
@media(max-width:700px){
  .wce-profile-grid{width:100%;grid-template-columns:minmax(0,1fr);gap:18px}
  .wce-profile-grid>.wce-card{width:100%;overflow:hidden}
  .wce-profile-grid .wce-card h2{font-size:30px;line-height:1.15;margin-bottom:24px}
  .wce-profile-actions,.wce-profile-photo-form .wce-form-actions{width:100%;max-width:100%;box-sizing:border-box}
  .wce-profile-actions .wce-button,.wce-profile-photo-form .wce-button{display:flex;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  .wce-profile-photo-form input[type=file]{width:100%;max-width:100%;min-width:0;box-sizing:border-box;font-size:14px}
  .wce-export-form{width:100%;max-width:100%;box-sizing:border-box}
  .wce-export-period{width:100%;max-width:100%;margin:0 0 20px}
  .wce-export-period select{width:100%;max-width:100%;box-sizing:border-box}
  .wce-export-actions{width:100%;max-width:100%;margin-top:0}
  .wce-export-actions .wce-button{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
}


/* 0.1.15-alpha: contenimento rigido delle schede Profilo su mobile */
.wce-profile-card,.wce-profile-card *{box-sizing:border-box}
.wce-profile-card{min-width:0;max-width:100%;overflow:hidden}
.wce-profile-value{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.wce-profile-email{font-size:inherit;line-height:1.35}
@media(max-width:700px){
  .wce-content{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow-x:hidden!important}
  .wce-profile-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
  .wce-profile-grid>.wce-profile-card{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;padding:19px!important;box-sizing:border-box!important;overflow:hidden!important}
  .wce-profile-card h2{max-width:100%!important;overflow-wrap:anywhere!important}
  .wce-profile-card .wce-definition{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
  .wce-profile-card .wce-definition dt,.wce-profile-card .wce-definition dd{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;overflow:hidden!important}
  .wce-profile-card .wce-profile-photo-form,.wce-profile-card .wce-profile-photo-form input[type=file],.wce-profile-card .wce-form-actions,.wce-profile-card .wce-button,.wce-profile-card .wce-avatar{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  .wce-profile-card .wce-profile-photo-form{width:100%!important;overflow:hidden!important}
  .wce-profile-card .wce-profile-photo-form input[type=file]{display:block!important;width:100%!important;overflow:hidden!important}
  .wce-profile-card .wce-form-actions{width:100%!important;margin-left:0!important;margin-right:0!important}
  .wce-profile-card .wce-button{width:100%!important;min-width:0!important}
}

/* 0.1.16-alpha: spaziatura dedicata recupero/reset password */
.wce-login-card-lost>p,.wce-login-card-reset>p{margin-bottom:0}
.wce-login-card .wce-auth-form-recovery{margin:22px 0 0}
.wce-login-card .wce-auth-form-recovery label{margin:0 0 8px}
.wce-login-card .wce-auth-form-recovery input[type=email],
.wce-login-card .wce-auth-form-recovery input[type=password]{margin:0 0 18px}
.wce-login-card .wce-auth-form-recovery input[type=submit]{margin-top:2px}
.wce-login-card .wce-auth-secondary-link{display:inline-block;margin-top:18px;text-decoration:none;line-height:1.35}
.wce-login-card-lost .wce-login-back,.wce-login-card-reset .wce-login-back{margin-top:24px}
@media(max-width:600px){
  .wce-login-card .wce-auth-form-recovery{margin-top:20px}
  .wce-login-card .wce-auth-form-recovery input[type=email],
  .wce-login-card .wce-auth-form-recovery input[type=password]{margin-bottom:17px}
  .wce-login-card .wce-auth-secondary-link{margin-top:17px}
  .wce-login-card-lost .wce-login-back,.wce-login-card-reset .wce-login-back{margin-top:22px}
}

/* 0.1.17-alpha: rifiniture login e titoli recupero password su mobile */
.wce-login-card .wce-forgot-password-link{
  display:inline-block;
  margin-top:20px;
  line-height:1.35;
  text-decoration:none;
}
.wce-login-card .wce-forgot-password-link:hover{text-decoration:underline}
@media(max-width:600px){
  .wce-login-card .wce-forgot-password-link{margin-top:22px}
  .wce-login-card-lost h1,
  .wce-login-card-reset h1{
    font-size:28px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    letter-spacing:-.02em;
  }
}
@media(max-width:380px){
  .wce-login-card-lost h1,
  .wce-login-card-reset h1{font-size:25px!important}
}

/* 0.1.20-alpha: logout disponibile anche nella navigazione mobile */
@media(max-width:900px){
  .wce-mobile-nav a{font-size:8.5px;padding-left:1px;padding-right:1px}
  .wce-mobile-nav .wce-mobile-logout{color:#f0f0f2}
  .wce-mobile-nav .wce-mobile-logout:active,
  .wce-mobile-nav .wce-mobile-logout:focus{color:var(--wce-orange)}
}

/* 0.6.21 – selettore relazionale allievi per lezioni private. */
.wce-private-participant-slot[hidden]{display:none!important}
.wce-private-participants{display:grid;gap:2px}
.wce-private-student-search{position:relative;min-width:0}
.wce-private-student-search-input{min-height:48px;font-size:16px!important}
.wce-private-student-search-results{position:absolute;z-index:80;top:calc(100% + 5px);left:0;right:0;max-height:310px;overflow:auto;padding:6px;border:1px solid #d8d8dc;border-radius:10px;background:#fff;box-shadow:0 14px 32px rgba(0,0,0,.16)}
.wce-private-student-search-results[hidden]{display:none!important}
.wce-private-student-search-results button{display:grid;width:100%;min-width:0;gap:3px;padding:11px 12px;border:0;border-bottom:1px solid #ededf0;border-radius:7px;background:#fff;color:#171717;text-align:left;cursor:pointer}
.wce-private-student-search-results button:last-child{border-bottom:0}
.wce-private-student-search-results button:hover,.wce-private-student-search-results button:focus{outline:0;background:#fff4ef;box-shadow:inset 0 0 0 1px rgba(232,93,50,.28)}
.wce-private-student-search-results strong,.wce-private-student-search-results small{display:block;max-width:100%;overflow-wrap:anywhere}
.wce-private-student-search-results small{color:var(--wce-muted);font-weight:500}
.wce-private-student-search-state{padding:11px 12px;color:var(--wce-muted);font-size:13px;font-weight:500}
.wce-private-participant-slot>small{color:var(--wce-muted);font-size:12px;font-weight:500}
@media(max-width:700px){
  .wce-private-student-search-results{position:static;max-height:280px;margin-top:6px;box-shadow:0 8px 20px rgba(0,0,0,.10)}
  .wce-private-student-search-results button{min-height:54px;padding:12px}
}

/* 0.6.0 – menu laterale richiudibile e modalità registro. */
.wce-sidebar-toggle{position:absolute;right:-15px;top:18px;z-index:20;width:32px;height:32px;display:grid;place-items:center;padding:0;border:2px solid #fff;border-radius:50%;background:var(--wce-orange);color:#fff;cursor:pointer;box-shadow:0 3px 12px rgba(0,0,0,.2)}.wce-sidebar-toggle .dashicons{font-size:18px;width:18px;height:18px}.wce-portal-shell .wce-sidebar,.wce-portal-shell .wce-main{transition:width .2s ease,flex-basis .2s ease}.wce-portal-shell.wce-sidebar-compact .wce-sidebar{width:68px;flex-basis:68px;padding-left:10px;padding-right:10px}.wce-portal-shell.wce-sidebar-compact .wce-sidebar-brand img{width:48px;height:48px;object-fit:contain;margin-bottom:24px}.wce-portal-shell.wce-sidebar-compact .wce-sidebar .wce-nav-label,.wce-portal-shell.wce-sidebar-compact .wce-sidebar .wce-manager-nav-heading,.wce-portal-shell.wce-sidebar-compact .wce-sidebar-footer a span:not(.dashicons){display:none}.wce-portal-shell.wce-sidebar-compact .wce-sidebar a{justify-content:center;padding-left:10px;padding-right:10px}.wce-portal-shell.wce-sidebar-compact .wce-sidebar-footer a{justify-content:center}.wce-portal-shell:has(.wce-attendance-mode) .wce-content{max-width:none;padding-top:14px}
@media(max-width:900px){.wce-sidebar-toggle{display:none}}


/* WCE protected video player: custom controls remove the browser's native download menu. */
.wce-video-player{position:relative;width:100%;margin:15px 0;background:#000;border-radius:12px;overflow:hidden;-webkit-touch-callout:none;user-select:none}
.wce-video-player .wce-video{display:block;width:100%;max-height:620px;margin:0;background:#000;border-radius:0;object-fit:contain}
.wce-video-controls{display:grid;grid-template-columns:44px minmax(120px,1fr) 44px minmax(80px,130px) 44px;align-items:center;gap:10px;padding:10px 12px;background:#111;color:#fff}
.wce-video-control{appearance:none;-webkit-appearance:none;border:0!important;background:transparent!important;color:#fff!important;width:40px;height:40px;padding:0!important;margin:0!important;border-radius:8px!important;display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1;cursor:pointer;box-shadow:none!important}
.wce-video-control:hover,.wce-video-control:focus{background:#252525!important;color:#fff!important;outline:2px solid rgba(232,93,50,.55)!important;outline-offset:1px}
.wce-video-seek,.wce-video-volume{width:100%;accent-color:var(--wce-orange);margin:0}
.wce-video-protected-note{margin:4px 0 12px;color:var(--wce-muted);font-size:13px}
.wce-video-player:fullscreen{display:flex;flex-direction:column;justify-content:center;background:#000;border-radius:0}
.wce-video-player:fullscreen .wce-video{max-height:calc(100vh - 64px);flex:1}
.wce-video-player:fullscreen .wce-video-controls{flex:0 0 auto}
@media(max-width:640px){.wce-video-controls{grid-template-columns:40px minmax(90px,1fr) 40px 40px;gap:7px;padding:8px}.wce-video-volume{display:none}.wce-video-control{width:36px;height:36px;font-size:18px}}


/* 0.1.22-alpha: fullscreen video compatibile con Safari/iPhone e fallback mobile. */
.wce-video-player:-webkit-full-screen{display:flex;flex-direction:column;justify-content:center;background:#000;border-radius:0}
.wce-video-player:-webkit-full-screen .wce-video{max-height:calc(100vh - 64px);flex:1;min-height:0}
.wce-video-player:-webkit-full-screen .wce-video-controls{flex:0 0 auto}
html.wce-video-scroll-lock,body.wce-video-scroll-lock{overflow:hidden!important;overscroll-behavior:none!important}
.wce-video-player.wce-mobile-fullscreen{position:fixed!important;inset:0!important;z-index:2147483647!important;width:100vw!important;height:100vh!important;height:100dvh!important;margin:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;background:#000!important}
.wce-video-player.wce-mobile-fullscreen .wce-video{width:100%!important;max-height:none!important;min-height:0!important;flex:1 1 auto!important;object-fit:contain!important;background:#000!important}
.wce-video-player.wce-mobile-fullscreen .wce-video-controls{flex:0 0 auto!important;width:100%!important;box-sizing:border-box!important}

/* 0.4.38-alpha: account unificati, profili familiari e branding dinamico classi */
.wce-login-card-register{width:min(760px,100%)}
.wce-login-card-register>p{max-width:620px;margin-left:auto;margin-right:auto}
.wce-register-form{margin-top:22px}.wce-register-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin-bottom:18px}.wce-register-grid label{margin:0!important}.wce-register-grid input[type=text],.wce-register-grid input[type=email],.wce-register-grid input[type=password],.wce-register-grid input[type=tel],.wce-register-grid input[type=date]{display:block;width:100%;min-width:0;box-sizing:border-box;margin-top:7px;padding:12px;border:1px solid #d7d7da;border-radius:8px;background:#fff;font:inherit;font-size:16px}.wce-register-help{margin:18px auto 0!important;font-size:13px;line-height:1.5}.wce-create-account-link{display:block;margin-top:12px;font-weight:700;text-decoration:none}.wce-create-account-link:hover{text-decoration:underline}.wce-account-pending-card{max-width:540px}.wce-account-pending-card .wce-button{margin-top:8px;min-width:150px}
.wce-person-switcher{margin:0 0 20px}.wce-person-switcher-label{display:block;color:var(--wce-muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;margin:0 0 9px}.wce-person-switcher-items{display:flex;gap:9px;flex-wrap:wrap}.wce-person-switcher-item{display:flex;flex-direction:column;gap:2px;padding:10px 13px;border:1px solid var(--wce-border);border-radius:10px;background:#fff;color:var(--wce-black)!important;text-decoration:none!important;min-width:160px}.wce-person-switcher-item small{color:var(--wce-muted);font-size:11px}.wce-person-switcher-item:hover,.wce-person-switcher-item.active{border-color:var(--wce-orange);box-shadow:0 0 0 1px var(--wce-orange)}.wce-person-switcher-item.active{background:#fff7f3}
.wce-member-hero{background:#fff;border:1px solid var(--wce-border);border-radius:16px;padding:24px;margin-bottom:20px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:24px;align-items:center;box-shadow:0 3px 16px rgba(0,0,0,.025)}.wce-member-identity{display:flex;align-items:center;gap:18px;min-width:0}.wce-member-identity h2{margin:2px 0 9px;font-size:29px;line-height:1.12}.wce-member-eyebrow{color:var(--wce-orange);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.wce-member-class-line{display:flex;align-items:center;gap:11px;min-height:42px}.wce-member-class-line img{width:auto;height:38px;max-width:170px;object-fit:contain;object-position:left center}.wce-member-class-line strong{font-size:14px}.wce-member-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wce-member-summary>div{padding:13px;border-radius:11px;background:#f7f7f8;min-width:0}.wce-member-summary span{display:block;color:var(--wce-muted);font-size:11px;margin-bottom:5px}.wce-member-summary strong{display:block;font-size:14px;line-height:1.25;overflow-wrap:anywhere}.wce-avatar-initials{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;background:#111;color:#fff;font-weight:900;letter-spacing:.03em;border:3px solid #fff;box-shadow:0 0 0 1px var(--wce-border)}.wce-foundation-card p{margin-bottom:0;color:var(--wce-muted);line-height:1.6}.wce-instructor-section-title{margin:34px 0 16px;padding-top:25px;border-top:1px solid var(--wce-border)}.wce-instructor-section-title span{display:block;color:var(--wce-orange);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.wce-instructor-section-title h2{margin:3px 0 0;font-size:24px}.wce-member-profile-class-logo{display:block;width:auto;max-width:210px;max-height:120px;object-fit:contain;margin:20px auto 4px}.wce-readonly-note{color:var(--wce-muted);font-size:13px;line-height:1.55;margin:16px 0 0}.wce-member-profile-grid .wce-definition dd{font-weight:600}.wce-topbar .wce-avatar-initials{font-size:14px}
@media(max-width:980px){.wce-member-hero{grid-template-columns:1fr}.wce-member-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.wce-login-card-register{width:100%}.wce-register-grid{grid-template-columns:1fr;gap:13px}.wce-person-switcher-items{display:grid;grid-template-columns:1fr 1fr}.wce-person-switcher-item{min-width:0}.wce-member-hero{padding:19px;gap:19px}.wce-member-identity{align-items:flex-start}.wce-member-identity h2{font-size:24px}.wce-member-class-line{align-items:flex-start;flex-direction:column;gap:7px}.wce-member-class-line img{height:48px;max-width:190px}.wce-member-summary{grid-template-columns:1fr}.wce-member-summary>div{display:flex;justify-content:space-between;gap:14px;align-items:center}.wce-member-summary span{margin:0}.wce-member-summary strong{text-align:right}.wce-member-profile-class-logo{max-width:180px}}
@media(max-width:440px){.wce-person-switcher-items{grid-template-columns:1fr}.wce-member-identity{gap:13px}.wce-member-identity .wce-avatar{width:68px!important;height:68px!important}.wce-member-class-line img{max-width:165px;height:43px}}

/* 0.4.39 unified dashboard refresh */
.wce-person-switcher{margin:0 0 22px}
.wce-person-switcher-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.wce-person-switcher-item{gap:12px;padding:14px 15px;border-radius:14px;box-shadow:0 2px 10px rgba(0,0,0,.03)}
.wce-person-switcher-item-head{display:flex;align-items:center;gap:11px;min-width:0}
.wce-person-switcher-item-head .wce-avatar{flex:0 0 auto}
.wce-person-switcher-item-head>div{min-width:0}
.wce-person-switcher-item strong{display:block;line-height:1.2}
.wce-person-switcher-item small{display:block;margin-top:4px}
.wce-person-switcher-logo{display:block;width:auto;height:34px;max-width:145px;object-fit:contain}
.wce-person-switcher-logo.is-kids{height:42px;max-width:170px}
.wce-member-hero{padding:28px 30px;gap:28px;grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr);border-radius:22px}
.wce-member-avatar-wrap{flex:0 0 auto}
.wce-member-main-copy{min-width:0}
.wce-member-main-copy h2{margin:4px 0 10px;font-size:34px;line-height:1.05}
.wce-member-class-meta{margin:0;color:var(--wce-muted);font-size:14px;line-height:1.4}
.wce-member-class-meta.card-meta{text-align:center;margin-top:4px}
.wce-member-hero-logo{display:block;width:auto;height:64px;max-width:240px;object-fit:contain;object-position:left center;margin-top:18px}
.wce-member-hero-logo.is-kids{height:92px;max-width:280px}
.wce-member-summary{align-self:stretch;grid-template-columns:1fr;gap:12px}
.wce-member-summary>div{display:flex;flex-direction:column;justify-content:center;min-height:86px;padding:16px 17px;border-radius:14px;background:linear-gradient(180deg,#fbfbfc 0%,#f5f5f7 100%)}
.wce-member-summary strong{font-size:16px}
.wce-foundation-card{margin-bottom:20px}
.wce-foundation-card-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:8px}
.wce-foundation-card h3{margin:4px 0 0;font-size:24px}
.wce-portal-quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.wce-portal-quick-link{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid var(--wce-border);border-radius:16px;background:#fff;color:var(--wce-black)!important;text-decoration:none!important;box-shadow:0 2px 14px rgba(0,0,0,.025);transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease}
.wce-portal-quick-link:hover{transform:translateY(-1px);border-color:var(--wce-orange);box-shadow:0 8px 24px rgba(232,93,50,.10)}
.wce-portal-quick-link .dashicons{font-size:22px;width:22px;height:22px;color:var(--wce-orange)}
.wce-portal-quick-link strong{font-size:15px;line-height:1.2}
.wce-portal-quick-link small{color:var(--wce-muted);font-size:12px;line-height:1.5}
.wce-member-profile-grid .wce-profile-photo-card{display:flex;flex-direction:column;align-items:center;text-align:center}
.wce-member-profile-class-logo{max-width:240px;max-height:135px;margin:20px auto 0}
.wce-member-profile-class-logo.is-kids{max-width:300px;max-height:170px}
@media(max-width:980px){
  .wce-member-hero{grid-template-columns:1fr;padding:24px}
  .wce-member-main-copy h2{font-size:30px}
  .wce-member-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wce-member-summary>div{min-height:0}
}
@media(max-width:760px){
  .wce-person-switcher-items{grid-template-columns:1fr 1fr}
  .wce-member-identity{flex-direction:column;align-items:flex-start;gap:14px}
  .wce-member-main-copy h2{font-size:27px}
  .wce-member-hero-logo{height:58px;max-width:210px;margin-top:14px}
  .wce-member-hero-logo.is-kids{height:86px;max-width:240px}
  .wce-member-summary{grid-template-columns:1fr}
  .wce-member-summary>div{flex-direction:row;align-items:center;justify-content:space-between;min-height:0}
  .wce-member-summary strong{text-align:right}
  .wce-profile-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .wce-person-switcher-items{grid-template-columns:1fr}
  .wce-member-hero{padding:20px 18px}
  .wce-member-main-copy h2{font-size:24px}
  .wce-member-hero-logo{height:52px;max-width:185px}
  .wce-member-hero-logo.is-kids{height:74px;max-width:220px}
  .wce-portal-quick-grid{grid-template-columns:1fr}
  .wce-foundation-card h3{font-size:22px}
}

/* 0.4.40 kids progression, patches and profile photo */
.wce-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}
.wce-section-heading h3{margin:4px 0 0;font-size:24px;line-height:1.15}
.wce-next-belt,.wce-patch-count{display:inline-flex;align-items:center;gap:4px;padding:8px 11px;border-radius:999px;background:#f5f5f7;color:var(--wce-muted);font-size:12px;white-space:nowrap}
.wce-next-belt strong{color:var(--wce-black)}
.wce-kids-path-card{margin-bottom:20px;overflow:hidden}
.wce-belt-current{display:grid;grid-template-columns:auto minmax(160px,1fr);align-items:center;gap:16px;margin:4px 0 22px}
.wce-belt-current>strong{font-size:20px;line-height:1.2}
.wce-belt-strip{height:26px;border:1px solid rgba(0,0,0,.18);border-radius:999px;box-shadow:inset 0 1px 2px rgba(0,0,0,.08)}
.wce-patch-progress-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px;font-size:13px;color:var(--wce-muted)}
.wce-patch-progress-head strong{font-size:15px;color:var(--wce-black)}
.wce-patch-progress{height:14px;background:#ececef;border-radius:999px;overflow:hidden;box-shadow:inset 0 1px 2px rgba(0,0,0,.06)}
.wce-patch-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--wce-orange),#f28a62);transition:width .25s ease}
.wce-patch-motivation{margin:13px 0 0;padding:12px 14px;border-left:4px solid var(--wce-orange);background:#fff7f3;border-radius:0 10px 10px 0;font-weight:650;line-height:1.5}
.wce-patches-card{margin-bottom:20px}
.wce-patch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.wce-patch-item{position:relative;display:flex;flex-direction:column;gap:10px;min-width:0;padding:13px;border:1px solid var(--wce-border);border-radius:15px;background:#fff;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.wce-patch-item.is-earned{border-color:rgba(232,93,50,.45);box-shadow:0 7px 18px rgba(0,0,0,.055)}
.wce-patch-item.is-earned:hover{transform:translateY(-1px)}
.wce-patch-item.is-missing{background:#fafafa}
.wce-patch-image-wrap{position:relative;display:flex;align-items:center;justify-content:center;min-height:76px}
.wce-patch-image-wrap img{display:block;width:100%;height:auto;max-height:90px;object-fit:contain}
.wce-patch-item.is-missing .wce-patch-image-wrap img{filter:grayscale(1);opacity:.28}
.wce-patch-check{position:absolute;right:-3px;top:-3px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#1f9d55;color:#fff;font-size:17px;font-weight:900;border:3px solid #fff;box-shadow:0 3px 8px rgba(0,0,0,.16)}
.wce-patch-item-meta{display:flex;flex-direction:column;gap:4px;min-width:0}
.wce-patch-item-meta strong{font-size:13px;line-height:1.25}
.wce-patch-item-meta small{font-size:11px;color:var(--wce-muted);line-height:1.35}
.wce-patch-item-meta em{display:inline-flex;align-self:flex-start;margin-top:3px;padding:4px 7px;border-radius:999px;background:#151515;color:#fff;font-size:10px;font-style:normal;font-weight:750}
.wce-patch-item.is-black-belt{grid-column:span 2;background:linear-gradient(180deg,#fff 0%,#fafafa 100%)}
.wce-patch-item.is-black-belt .wce-patch-image-wrap{min-height:104px}
.wce-patch-item.is-black-belt .wce-patch-image-wrap img{max-height:120px}
.wce-bonus-patches{margin-top:22px;padding-top:18px;border-top:1px solid var(--wce-border);display:grid;grid-template-columns:minmax(180px,.7fr) minmax(220px,1.3fr);gap:16px;align-items:center}
.wce-bonus-title{display:flex;flex-direction:column;gap:4px}
.wce-bonus-title>span{display:inline-flex;align-self:flex-start;padding:4px 8px;border-radius:999px;background:var(--wce-orange);color:#fff;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.wce-bonus-title strong{font-size:18px}
.wce-bonus-title small{color:var(--wce-muted);line-height:1.45}
.wce-patch-item.is-bonus{display:grid;grid-template-columns:minmax(150px,1fr) minmax(100px,.6fr);align-items:center}
.wce-patch-item.is-bonus .wce-patch-image-wrap{min-height:60px}
.wce-patch-fallback{padding:10px;text-align:center;font-weight:800;color:var(--wce-muted)}
.wce-member-photo-form{width:100%;margin-top:18px;padding-top:16px;border-top:1px solid var(--wce-border);display:flex;flex-direction:column;gap:11px;text-align:left}
.wce-member-photo-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:750}
.wce-member-photo-form input[type=file]{display:block;width:100%;box-sizing:border-box;padding:9px;border:1px solid var(--wce-border);border-radius:9px;background:#fafafa;font-size:12px}
.wce-member-photo-form .wce-button{align-self:stretch;text-align:center}
@media(max-width:980px){
  .wce-patch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .wce-section-heading{align-items:flex-start;flex-direction:column;gap:9px}
  .wce-next-belt,.wce-patch-count{white-space:normal}
  .wce-belt-current{grid-template-columns:1fr;gap:9px}
  .wce-belt-strip{height:24px}
  .wce-patch-grid{grid-template-columns:1fr 1fr;gap:10px}
  .wce-patch-item{padding:10px}
  .wce-patch-image-wrap{min-height:62px}
  .wce-patch-image-wrap img{max-height:76px}
  .wce-patch-item.is-black-belt{grid-column:1/-1}
  .wce-bonus-patches{grid-template-columns:1fr}
}
@media(max-width:440px){
  .wce-patch-grid{grid-template-columns:1fr}
  .wce-patch-item.is-black-belt{grid-column:auto}
  .wce-patch-item.is-bonus{grid-template-columns:1fr}
  .wce-patch-item.is-bonus .wce-patch-image-wrap{min-height:70px}
}

/* 0.4.41 student preview + personal documents */
.wce-student-preview-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:14px 16px;border:1px solid rgba(232,93,50,.32);border-radius:14px;background:#fff7f3}
.wce-student-preview-banner>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-width:0}
.wce-student-preview-banner .dashicons{color:var(--wce-orange);font-size:20px;width:20px;height:20px}
.wce-student-preview-banner strong{font-size:14px}
.wce-student-preview-banner span:last-child{color:var(--wce-muted);font-size:13px}
.wce-documents-card{padding:24px}
.wce-documents-person{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#f4f4f6;color:var(--wce-muted);font-size:12px;font-weight:700}
.wce-document-tabs{display:flex;gap:8px;margin:20px 0 18px;padding-bottom:4px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.wce-document-tabs a{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:10px 13px;border:1px solid var(--wce-border);border-radius:11px;background:#fff;color:var(--wce-black)!important;text-decoration:none!important;font-weight:800;font-size:13px}
.wce-document-tabs a span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#f1f1f3;color:var(--wce-muted);font-size:11px}
.wce-document-tabs a.active{border-color:var(--wce-orange);background:#fff7f3}
.wce-document-tabs a.active span{background:var(--wce-orange);color:#fff}
.wce-document-list{display:flex;flex-direction:column;gap:10px}
.wce-document-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;border:1px solid var(--wce-border);border-radius:14px;background:#fff}
.wce-document-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:#fff1ec;color:var(--wce-orange)}
.wce-document-icon.home{background:#eef7ff;color:#2d6fb8}
.wce-document-icon.file{background:#f1f1f4;color:#555}
.wce-document-icon .dashicons{font-size:22px;width:22px;height:22px}
.wce-document-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.wce-document-copy strong{font-size:14px;line-height:1.25;overflow-wrap:anywhere}
.wce-document-copy span{font-size:12px;color:var(--wce-muted);overflow-wrap:anywhere}
.wce-document-copy small{font-size:11px;color:var(--wce-muted)}
.wce-document-download{white-space:nowrap;text-align:center}
.wce-doc-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:34px 20px;border:1px dashed var(--wce-border);border-radius:14px;background:#fafafa}
.wce-doc-empty .dashicons{font-size:30px;width:30px;height:30px;color:var(--wce-muted);margin-bottom:10px}
.wce-doc-empty strong{font-size:15px}
.wce-doc-empty p{margin:6px 0 0;color:var(--wce-muted);font-size:13px;line-height:1.5;max-width:460px}
@media(max-width:700px){
  .wce-student-preview-banner{align-items:flex-start;flex-direction:column}
  .wce-student-preview-banner .wce-button{width:100%;text-align:center}
  .wce-documents-card{padding:19px}
  .wce-documents-card .wce-section-heading{align-items:flex-start;flex-direction:column;gap:8px}
  .wce-document-row{grid-template-columns:auto minmax(0,1fr)}
  .wce-document-download{grid-column:1/-1;width:100%;box-sizing:border-box}
}
@media(max-width:440px){
  .wce-document-row{padding:12px;gap:11px}
  .wce-document-icon{width:42px;height:42px}
  .wce-document-tabs a{padding:9px 11px}
}

/* 0.4.42 – free Portal, event signup, next-belt preview and password visibility */
.wce-show-password{display:inline-flex!important;align-items:center;gap:8px;margin:9px 0 14px!important;font-size:13px!important;font-weight:700!important;cursor:pointer;color:#34343a}
.wce-show-password input[type="checkbox"]{width:18px!important;height:18px!important;min-width:18px;margin:0!important;accent-color:var(--wce-orange)}
.wce-register-form .wce-show-password{margin-top:7px!important}
.wce-next-belt{flex-wrap:wrap}
.wce-next-belt-strip{display:inline-block;width:52px;height:12px;border-radius:999px;border:1px solid rgba(0,0,0,.15);box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);margin-left:4px;flex:0 0 auto}
.wce-free-portal-hero{grid-template-columns:1fr}
.wce-free-membership-alert{margin:0 0 20px;line-height:1.55}
.wce-free-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}
.wce-free-content-grid>.wce-card{margin:0;min-height:180px;display:flex;flex-direction:column;align-items:flex-start}
.wce-free-content-grid>.wce-card>.dashicons{width:30px;height:30px;font-size:30px;color:var(--wce-orange);margin-bottom:10px}
.wce-free-content-grid>.wce-card h3{margin:0 0 8px;font-size:21px}
.wce-free-content-grid>.wce-card p{margin:0 0 16px;color:var(--wce-muted);line-height:1.6}
.wce-free-content-grid>.wce-card .wce-button{margin-top:auto}
.wce-document-tab-locked{opacity:.55;cursor:not-allowed!important}

.wce-next-event-card,.wce-events-page-card{margin-bottom:20px}
.wce-next-event-card .wce-section-heading>a{font-size:13px;font-weight:800;color:var(--wce-orange);text-decoration:none}
.wce-portal-event-list{display:grid;gap:14px}
.wce-portal-event-card{display:grid;grid-template-columns:minmax(145px,.5fr) minmax(260px,1.4fr) minmax(180px,.6fr);gap:18px;align-items:center;padding:18px;border:1px solid var(--wce-border);border-radius:16px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.025)}
.wce-portal-event-card.is-compact{box-shadow:none;background:#fbfbfc}
.wce-portal-event-card.is-locked{background:#fafafa}
.wce-portal-event-card.is-locked .wce-portal-event-copy{opacity:.72}
.wce-portal-event-date{display:flex;align-items:flex-start;gap:8px;color:#28282d;font-size:13px;line-height:1.45}
.wce-portal-event-date .dashicons{color:var(--wce-orange);margin-top:1px;flex:0 0 auto}
.wce-portal-event-copy h3{margin:3px 0 5px;font-size:19px;line-height:1.15}
.wce-portal-event-copy p{margin:0;color:var(--wce-muted);font-size:13px;line-height:1.5}
.wce-portal-event-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.wce-portal-event-meta span{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f2f2f4;color:#62626a;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.025em}
.wce-portal-event-action{display:flex;flex-direction:column;align-items:flex-end;gap:6px;text-align:right}
.wce-event-status{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:220px;padding:8px 10px;border-radius:10px;font-size:12px;font-weight:800;line-height:1.35;text-align:left}
.wce-event-status .dashicons{width:17px;height:17px;font-size:17px;flex:0 0 auto}
.wce-event-status.is-registered{background:#edf8f0;color:#21713b}
.wce-event-status.is-locked{background:#f0f0f2;color:#686870}
.wce-event-status.is-preview{background:#fff2eb;color:#9a3c1f}
.wce-event-register-form{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:min(220px,100%)}
.wce-event-register-form label{display:flex;flex-direction:column;gap:5px;text-align:left;color:var(--wce-muted);font-size:11px;font-weight:800}
.wce-event-register-form select{width:100%;min-height:40px;padding:7px 9px;border:1px solid var(--wce-border);border-radius:8px;background:#fff;font:inherit}
.wce-event-register-form small,.wce-portal-event-action>small{color:var(--wce-muted);font-size:11px}
.wce-event-register-form .wce-button{width:100%;margin:0;text-align:center}
.wce-events-empty{padding:24px;border:1px dashed var(--wce-border);border-radius:14px;background:#fafafb;text-align:center;color:var(--wce-muted)}

@media(max-width:900px){
  .wce-portal-event-card{grid-template-columns:1fr 1.5fr}
  .wce-portal-event-action{grid-column:1/-1;align-items:flex-start;text-align:left;padding-top:2px}
  .wce-event-register-form{width:100%;max-width:360px}
}
@media(max-width:700px){
  .wce-free-content-grid{grid-template-columns:1fr}
  .wce-portal-event-card{grid-template-columns:1fr;gap:12px;padding:16px}
  .wce-portal-event-action{grid-column:auto;align-items:stretch}
  .wce-event-status{max-width:none;justify-content:flex-start}
  .wce-event-register-form{max-width:none}
  .wce-next-belt{justify-content:flex-start}
}

/* 0.4.45 – programma multi-giorno eventi */
.wce-portal-event-days{display:grid;gap:5px;min-width:0}
.wce-portal-event-days>span{display:flex;flex-direction:column;gap:1px;line-height:1.25}
.wce-portal-event-days>span+span{padding-top:5px;border-top:1px solid var(--wce-border)}
.wce-portal-event-days small{color:var(--wce-muted);font-size:11px;font-weight:700}


/* 0.4.48 – certificato medico Portal */
.wce-medical-card{display:grid;gap:18px}
.wce-medical-state{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800;background:#f1f1f1;color:#3c434a}
.wce-medical-state.is-valid{background:#e8f7ed;color:#176b34}.wce-medical-state.is-warning{background:#fff4d8;color:#805b00}.wce-medical-state.is-expired,.wce-medical-state.is-missing{background:#fde8e8;color:#9a241e}.wce-medical-state.is-pending{background:#eaf2ff;color:#174ea6}
.wce-medical-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wce-medical-summary>div{padding:13px;border:1px solid #e4e4e7;border-radius:12px;background:#fafafa}.wce-medical-summary span{display:block;font-size:11px;color:#777;margin-bottom:4px}.wce-medical-summary strong{display:block;line-height:1.35}
.wce-medical-upload-box{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:20px;padding:18px;border:1px solid #e2e2e5;border-radius:14px;background:#fff}.wce-medical-upload-box h3{margin:0 0 6px}.wce-medical-upload-box p{margin:0;color:#646970;line-height:1.5}.wce-medical-upload-form{display:grid;gap:10px}.wce-medical-history h3{margin-bottom:10px}
.wce-file-field>label{display:block;margin:0 0 7px;font-weight:700}.wce-file-control{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:52px;padding:7px;border:1px dashed #b9bbc0;border-radius:10px;background:#fafafa;box-sizing:border-box}.wce-file-input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}.wce-file-select-button{min-height:38px;padding:8px 13px;border:0;border-radius:8px;background:#e7e7e9;color:#171717;font:inherit;font-weight:750;cursor:pointer}.wce-file-selected-name{display:block;min-width:0;color:#5f6066;font-size:13px;line-height:1.3;overflow-wrap:anywhere;word-break:break-word}.wce-file-control.has-file{border-style:solid;border-color:rgba(232,93,50,.65);background:#fff8f4}.wce-file-control.has-file .wce-file-selected-name{color:#29292d;font-weight:650}
@media(max-width:782px){.wce-medical-summary{grid-template-columns:1fr}.wce-medical-upload-box{grid-template-columns:1fr}}
@media(max-width:420px){.wce-file-control{grid-template-columns:1fr}.wce-file-select-button{width:100%}.wce-file-selected-name{padding:2px 5px 5px;text-align:center}}


/* 0.4.49 – certificato: rilascio, scadenza automatica e richiami visivi */
.wce-medical-reminder{display:flex;flex-direction:column;gap:4px;padding:15px 16px;border-radius:12px;border:1px solid transparent;line-height:1.45}
.wce-medical-reminder.is-warning{background:#fff8df;border-color:#efd58b;color:#6c5200}
.wce-medical-reminder.is-urgent{background:#fff0e5;border-color:#efb08b;color:#8a3b12}
.wce-medical-reminder.is-danger{background:#fff0f0;border-color:#e6aaaa;color:#8b1c1c}
.wce-medical-expiry-preview{padding:10px 12px;border-radius:9px;background:#f7f7f8;border:1px solid #e1e1e4;font-size:13px;color:#50575e}


/* 0.4.57 – navigazione mobile: 3 azioni principali + Altro completo */
.wce-mobile-more-backdrop,.wce-mobile-more-sheet{display:none}
@media(max-width:900px){
  .wce-mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;justify-content:initial;padding:7px 12px max(8px,env(safe-area-inset-bottom));gap:4px}
  .wce-mobile-nav a,.wce-mobile-nav .wce-mobile-more-toggle{appearance:none;-webkit-appearance:none;border:0;background:transparent;color:#cfcfd2;text-decoration:none;display:flex;min-width:0;position:relative;flex-direction:column;align-items:center;justify-content:center;font:inherit;font-size:10.5px;line-height:1.1;gap:4px;padding:6px 3px;border-radius:10px;cursor:pointer;box-sizing:border-box}
  .wce-mobile-nav .wce-mobile-nav-spacer,.wce-mobile-nav .wce-mobile-nav-placeholder{display:block;min-width:0}
  .wce-mobile-nav a.active,.wce-mobile-nav .wce-mobile-more-toggle.active{color:var(--wce-orange);background:rgba(232,93,50,.10)}
  .wce-mobile-nav a.active .dashicons,.wce-mobile-nav .wce-mobile-more-toggle.active .dashicons{background:rgba(232,93,50,.13);border-radius:9px}
  .wce-mobile-nav .dashicons{display:flex;align-items:center;justify-content:center;font-size:22px;width:32px;height:27px;line-height:27px}
  .wce-mobile-nav .wce-nav-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
  .wce-mobile-nav .wce-nav-badge{top:1px;left:calc(50% + 5px);z-index:2}
  .wce-mobile-more-backdrop{display:block;position:fixed;z-index:1000;inset:0 0 calc(70px + env(safe-area-inset-bottom)) 0;border:0;padding:0;background:rgba(0,0,0,.34);opacity:0;pointer-events:none;transition:opacity .2s ease}
  .wce-mobile-more-backdrop.is-open{opacity:1;pointer-events:auto}
  .wce-mobile-more-sheet{display:block;position:fixed;z-index:1001;left:10px;right:10px;bottom:calc(76px + env(safe-area-inset-bottom));max-width:520px;max-height:min(72vh,680px);overflow-y:auto;overscroll-behavior:contain;margin:0 auto;padding:16px;background:#fff;border:1px solid var(--wce-border);border-radius:20px;box-shadow:0 22px 60px rgba(0,0,0,.24);transform:translateY(calc(100% + 100px));opacity:0;visibility:hidden;transition:transform .24s ease,opacity .18s ease,visibility 0s linear .24s;box-sizing:border-box}
  .wce-mobile-more-sheet.is-open{transform:translateY(0);opacity:1;visibility:visible;transition:transform .24s ease,opacity .18s ease,visibility 0s}
  .wce-mobile-more-head{position:sticky;top:-16px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 -2px 14px;padding:16px 2px 12px;background:#fff;border-bottom:1px solid var(--wce-border)}
  .wce-mobile-more-head>div{display:flex;flex-direction:column;gap:2px}
  .wce-mobile-more-head>div>span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--wce-orange)}
  .wce-mobile-more-head>div>strong{font-size:22px;line-height:1.1;color:#171717}
  .wce-mobile-more-close{position:relative;appearance:none;-webkit-appearance:none;width:40px;height:40px;border:0;border-radius:12px;background:#E85D32;color:#fff;display:block;flex:0 0 40px;cursor:pointer;box-shadow:none;overflow:hidden}.wce-mobile-more-close:hover,.wce-mobile-more-close:focus,.wce-mobile-more-close:active{background:#cf4d27;color:#fff;outline:0;box-shadow:0 0 0 3px rgba(232,93,50,.18)}
  .wce-mobile-more-close .dashicons{display:none!important}.wce-mobile-more-close::before,.wce-mobile-more-close::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:2.5px;border-radius:2px;background:#fff;transform-origin:center}.wce-mobile-more-close::before{transform:translate(-50%,-50%) rotate(45deg)}.wce-mobile-more-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
  .wce-mobile-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .wce-mobile-more-item{display:grid;grid-template-columns:39px minmax(0,1fr);align-items:center;gap:10px;min-height:72px;padding:12px!important;border:1px solid #e4e4e7;border-radius:14px;background:#fafafa;color:#171717!important;text-decoration:none!important;box-sizing:border-box}
  .wce-mobile-more-item>.dashicons{display:flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:11px;background:#fff0e9;color:var(--wce-orange);font-size:22px;line-height:39px}
  .wce-mobile-more-item>span:last-child{display:flex;min-width:0;flex-direction:column;gap:3px}
  .wce-mobile-more-item strong{font-size:14px;line-height:1.15;color:#171717;overflow-wrap:anywhere}
  .wce-mobile-more-item small{font-size:10.5px;line-height:1.25;color:#737378;white-space:normal;overflow-wrap:anywhere}
  .wce-mobile-more-item.active{border-color:rgba(232,93,50,.55);background:#fff7f3;box-shadow:0 0 0 1px rgba(232,93,50,.10)}
  .wce-mobile-more-logout>.dashicons{background:#f3f3f4;color:#4a4a4f}
  body.wce-mobile-menu-open{overflow:hidden!important}
}
@media(max-width:380px){
  .wce-mobile-nav a,.wce-mobile-nav .wce-mobile-more-toggle{font-size:9.5px;padding-left:1px;padding-right:1px}
  .wce-mobile-more-sheet{left:8px;right:8px;padding:13px}
  .wce-mobile-more-grid{gap:8px}
  .wce-mobile-more-item{grid-template-columns:35px minmax(0,1fr);gap:8px;padding:10px!important;min-height:68px}
  .wce-mobile-more-item>.dashicons{width:35px;height:35px;line-height:35px}
}

/* 0.4.56 – profilo tecnico con patch ufficiali WCE */
.wce-technical-profile{margin:0 0 20px;padding:22px 24px;overflow:hidden}
.wce-technical-profile-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}
.wce-technical-profile-head h3{margin:3px 0 0;font-size:22px;line-height:1.15;color:var(--wce-black)}
.wce-technical-profile-head>small{max-width:420px;color:var(--wce-muted);font-size:12px;line-height:1.45;text-align:right}
.wce-technical-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.wce-technical-profile-grid.is-single{grid-template-columns:minmax(0,620px)}
.wce-technical-patch-card{display:flex;min-width:0;flex-direction:column;gap:11px;padding:16px 18px 18px;border:1px solid #e4e4e7;border-radius:16px;background:linear-gradient(180deg,#fff 0%,#fafafa 100%)}
.wce-technical-card-label{font-size:10.5px;font-weight:850;letter-spacing:.065em;text-transform:uppercase;color:#717178}
.wce-technical-patch-frame{display:flex;align-items:center;justify-content:center;min-height:96px;padding:10px 12px;border-radius:13px;background:#fff;box-shadow:inset 0 0 0 1px #eeeeef}
.wce-technical-patch-frame img{display:block;width:min(100%,390px);height:auto;max-height:118px;object-fit:contain}
.wce-technical-role-only{display:flex;align-items:center;justify-content:center;gap:12px;min-height:96px;padding:10px 14px;border-radius:13px;background:#171717;color:#fff;text-align:center}
.wce-technical-role-only .dashicons{display:flex;align-items:center;justify-content:center;width:34px;height:34px;font-size:27px;color:var(--wce-orange)}
.wce-technical-role-only strong{font-size:20px;line-height:1.2}
.wce-technical-profile.is-dashboard{padding:20px 22px}
.wce-technical-profile.is-dashboard .wce-technical-profile-head{margin-bottom:13px}
.wce-technical-profile.is-dashboard .wce-technical-patch-card{padding:14px 16px 16px}
.wce-technical-profile.is-dashboard .wce-technical-patch-frame{min-height:86px}
.wce-technical-profile.is-dashboard .wce-technical-patch-frame img{max-height:104px}
@media(max-width:760px){
  .wce-technical-profile{padding:19px 18px}
  .wce-technical-profile-head{align-items:flex-start;flex-direction:column;gap:5px}
  .wce-technical-profile-head>small{text-align:left}
  .wce-technical-profile-grid,.wce-technical-profile-grid.is-single{grid-template-columns:1fr}
  .wce-technical-patch-card{padding:14px}
  .wce-technical-patch-frame{min-height:82px;padding:8px 10px}
  .wce-technical-patch-frame img{width:min(100%,360px);max-height:105px}
}
@media(max-width:430px){
  .wce-technical-profile{padding:17px 14px;border-radius:16px}
  .wce-technical-profile-head h3{font-size:20px}
  .wce-technical-patch-card{gap:9px;padding:12px;border-radius:14px}
  .wce-technical-patch-frame{min-height:72px;padding:7px 8px}
  .wce-technical-patch-frame img{max-height:92px}
}


/* 0.4.58 – profili famiglia nel menu mobile Altro */
@media(max-width:900px){
  .wce-mobile-family-profiles{margin:0 0 15px;padding:13px;border:1px solid var(--wce-border);border-radius:15px;background:#fafafb}
  .wce-mobile-family-head{display:flex;flex-direction:column;gap:2px;margin-bottom:9px}
  .wce-mobile-family-head>span{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--wce-orange)}
  .wce-mobile-family-head>strong{font-size:15px;color:#171717}
  .wce-mobile-family-grid{display:grid;gap:7px}
  .wce-mobile-family-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:9px 10px;border:1px solid #e1e1e4;border-radius:11px;background:#fff;color:#1d2327!important;text-decoration:none!important}
  .wce-mobile-family-item.active{border-color:var(--wce-orange);background:#fff7f3;box-shadow:0 0 0 1px rgba(232,93,50,.12)}
  .wce-mobile-family-item .wce-avatar{flex:none}
  .wce-mobile-family-item>span:nth-child(2){min-width:0}
  .wce-mobile-family-item strong,.wce-mobile-family-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .wce-mobile-family-item strong{font-size:13px;line-height:1.25}
  .wce-mobile-family-item small{margin-top:2px;color:var(--wce-muted);font-size:11px}
  .wce-mobile-family-item>.dashicons{color:var(--wce-orange);font-size:18px;width:18px;height:18px}
}


/* 0.4.60 – riepilogo crediti e compensi istruttore */
.wce-finance-summary-intro{margin-top:-3px;color:#6f6f76}
.wce-instructor-finance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.wce-instructor-finance-card{display:flex;flex-direction:column;gap:5px;min-width:0;padding:16px;border:1px solid #e2e2e7;border-radius:14px;background:#fff}
.wce-instructor-finance-card span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.035em;color:#6f6f76}
.wce-instructor-finance-card strong{font-size:25px;line-height:1.1;color:#18181b}
.wce-instructor-finance-card small{font-size:12px;color:#777;line-height:1.3}
.wce-instructor-finance-card.is-balance{border-left:4px solid #E85D32;background:#fff8f4}
.wce-instructor-finance-card.is-used strong{color:#9a4328}
@media(max-width:760px){.wce-instructor-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.wce-instructor-finance-grid{grid-template-columns:1fr}.wce-instructor-finance-card{padding:14px}}

/* 0.4.76 – notifiche Portal apribili e gestibili */
.wce-notification-bulk-form{margin-top:10px}.wce-notification-bulkbar{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:10px 12px;margin-bottom:6px;border:1px solid var(--wce-border);border-radius:10px;background:#fafafa;color:var(--wce-muted);font-size:12px}.wce-notification-select-all{display:inline-flex;align-items:center;gap:8px;color:#171717;font-weight:800;cursor:pointer}.wce-notification-select-all input,.wce-notification-select input{width:19px!important;height:19px!important;margin:0!important;accent-color:var(--wce-orange)}.wce-notification-selected-count{margin-right:auto;color:var(--wce-muted);font-weight:700}.wce-notification-bulkbar .wce-button:disabled{border-color:#d6d6d9!important;background:#d6d6d9!important;color:#737378!important;cursor:not-allowed;opacity:1}.wce-notification-row{display:grid;grid-template-columns:34px minmax(0,1fr) 36px;align-items:stretch;border-bottom:1px solid var(--wce-border)}.wce-notification-row .wce-notification{border-bottom:0;border-radius:9px;margin:3px 0}.wce-notification-select{display:flex;align-items:center;justify-content:center}.wce-notification-row-delete{display:flex;align-items:center;justify-content:center;align-self:center;width:30px;height:30px;border-radius:8px;color:#8a8d91!important;text-decoration:none!important;font-size:22px;line-height:1}.wce-notification-row-delete:hover{background:#fff0ed;color:#c4421f!important}.wce-notification-detail-card{max-width:900px;margin-top:14px}.wce-notification-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--wce-border)}.wce-notification-detail-head h2{margin:4px 0 5px}.wce-notification-detail-head small{color:var(--wce-muted)}.wce-notification-detail-kicker{display:block;color:var(--wce-orange);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.wce-notification-message{overflow:hidden;line-height:1.6}.wce-notification-message img{max-width:100%;height:auto}.wce-notification-message table{max-width:100%!important}.wce-notification-message .wce-portal-message-design{max-width:760px;margin:0 auto}.wce-notification-detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;padding-top:18px;border-top:1px solid var(--wce-border)}
@media(max-width:700px){.wce-notification-bulkbar{align-items:stretch;flex-direction:column}.wce-notification-row{grid-template-columns:30px minmax(0,1fr) 30px}.wce-notification-detail-head{flex-direction:column}.wce-notification-detail-head .wce-button{width:100%}.wce-notification-message .wce-portal-message-design{padding:6px!important}.wce-notification-message td{padding-left:14px!important;padding-right:14px!important}}

/* 0.6.24-alpha – WCE Performance in italiano, schede istantanee e podio di classe. */
.wce-game-shell{--game-orange:#E85D32;--game-black:#171717;--game-muted:#6f6f76;--game-border:#e4e4e8;box-sizing:border-box;display:grid;gap:18px;width:100%;min-width:0;margin:0 0 22px;padding:24px;border:1px solid #dedee3;border-radius:24px;background:linear-gradient(145deg,#fff 0%,#fcfcfd 54%,#fff6f1 100%);box-shadow:0 14px 36px rgba(19,19,22,.07);overflow:hidden}
.wce-game-shell *{box-sizing:border-box}.wce-game-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;min-width:0}.wce-game-header>div{min-width:0}.wce-game-eyebrow,.wce-game-card-head span,.wce-game-daily>span,.wce-game-next-goal>span{display:block;color:var(--game-orange);font-size:10.5px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.wce-game-header h2{margin:4px 0 6px;color:var(--game-black);font-size:29px;line-height:1.08;letter-spacing:-.025em}.wce-game-header p{max-width:760px;margin:0;color:var(--game-muted);font-size:13px;line-height:1.55}.wce-game-periods{display:flex;flex:0 0 auto;gap:5px;padding:4px;border:1px solid var(--game-border);border-radius:14px;background:#fff}.wce-game-periods button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:8px 13px;border:0;border-radius:10px;background:transparent;color:#5a5a62;font:inherit;font-size:12px;font-weight:800;line-height:1.2;white-space:nowrap;cursor:pointer;-webkit-appearance:none;appearance:none}.wce-game-periods button:hover,.wce-game-periods button:focus-visible{background:#f3f3f5;color:#29292d;outline:0}.wce-game-periods button:focus-visible{box-shadow:0 0 0 3px rgba(232,93,50,.2)}.wce-game-periods button.active{background:var(--game-black);color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.12)}.wce-game-period-panel[hidden]{display:none!important}.wce-game-period-details{display:grid;gap:14px;min-width:0}
.wce-game-celebration{display:flex;align-items:center;gap:13px;padding:14px 16px;border:1px solid #f1c2ae;border-radius:16px;background:linear-gradient(95deg,#fff3ed,#fff);color:#552717;animation:wce-game-pop .55s ease both}.wce-game-celebration>span{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:13px;background:#fff;font-size:25px;box-shadow:0 6px 18px rgba(90,41,20,.1)}.wce-game-celebration b,.wce-game-celebration strong{display:block}.wce-game-celebration b{color:var(--game-orange);font-size:10px;letter-spacing:.09em;text-transform:uppercase}.wce-game-celebration strong{margin-top:2px;font-size:17px}@keyframes wce-game-pop{0%{opacity:0;transform:translateY(8px) scale(.985)}100%{opacity:1;transform:none}}
.wce-game-overview{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:14px}.wce-game-ranking-card,.wce-game-level-card,.wce-game-card{min-width:0;padding:19px;border:1px solid var(--game-border);border-radius:18px;background:#fff;box-shadow:0 5px 18px rgba(17,17,19,.035)}.wce-game-ranking-card{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:linear-gradient(135deg,#171717,#2a292b);color:#fff;border-color:#171717}.wce-game-ranking-top,.wce-game-position{display:flex;min-width:0;flex-direction:column;gap:2px;padding:4px 0}.wce-game-ranking-top>span,.wce-game-position>span{color:#c9c9ce;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.wce-game-ranking-top>strong,.wce-game-position>strong{font-size:40px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.wce-game-ranking-top>small,.wce-game-position>small{margin-top:4px;color:#cfcfd4;font-size:11px;line-height:1.35}.wce-game-motivation{grid-column:1/-1;margin:2px 0 0;padding-top:13px;border-top:1px solid #3e3e42;color:#f5f5f6;font-size:13px;line-height:1.55}.wce-game-tie{grid-column:1/-1;display:inline-flex;justify-self:start;padding:6px 9px;border-radius:999px;background:rgba(232,93,50,.2);color:#ffb79d;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.wce-game-level-card{display:flex;flex-direction:column;justify-content:center;gap:12px;position:relative;overflow:hidden}.wce-game-level-card:before{content:"";position:absolute;right:-42px;top:-54px;width:150px;height:150px;border-radius:50%;background:rgba(232,93,50,.075)}.wce-game-level-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;position:relative}.wce-game-level-head>div span{display:block;color:var(--game-muted);font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.055em}.wce-game-level-head>div strong{display:block;margin-top:3px;color:var(--game-black);font-size:24px;line-height:1}.wce-game-level-head>b{color:#5f5f66;font-size:13px;font-variant-numeric:tabular-nums}.wce-game-progress,.wce-game-mini-progress{height:9px;border-radius:99px;background:#ededf0;overflow:hidden}.wce-game-progress i,.wce-game-mini-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#E85D32,#ff8a61);transition:width .45s ease}.wce-game-level-foot{display:flex;justify-content:space-between;gap:12px;color:var(--game-muted);font-size:11px}.wce-game-next-goal{margin-top:1px;padding:11px 12px;border-radius:12px;background:#fff4ef}.wce-game-next-goal strong{display:block;margin-top:3px;color:#6d301c;font-size:12px;line-height:1.4}.wce-game-level-card.is-silver .wce-game-progress i{background:linear-gradient(90deg,#92949a,#d8dade)}.wce-game-level-card.is-gold .wce-game-progress i{background:linear-gradient(90deg,#c79310,#ffd76a)}.wce-game-level-card.is-platinum .wce-game-progress i{background:linear-gradient(90deg,#506775,#b8d3df)}
.wce-game-rings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.wce-game-ring-card{display:flex;align-items:center;gap:18px;min-width:0;min-height:150px;padding:17px 19px;border:1px solid var(--game-border);border-radius:18px;background:#fff}.wce-game-ring{--wce-game-value:0;flex:0 0 116px;display:grid;place-items:center;width:116px;aspect-ratio:1;border-radius:50%;background:conic-gradient(var(--game-orange) calc(var(--wce-game-value)*1%),#ececef 0);position:relative}.wce-game-ring:before{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}.wce-game-ring>div{position:relative;z-index:1;width:88px;text-align:center}.wce-game-ring strong,.wce-game-ring span{display:block}.wce-game-ring strong{color:var(--game-black);font-size:25px;line-height:1;font-variant-numeric:tabular-nums}.wce-game-ring span{max-width:100%;margin-top:5px;color:var(--game-muted);font-size:8.5px;font-weight:850;line-height:1.1;letter-spacing:.025em;text-transform:uppercase;white-space:nowrap}.wce-game-ring-card>small{min-width:0;color:var(--game-muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.wce-game-detail-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(310px,.95fr);gap:14px}.wce-game-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.wce-game-card-head h3{margin:3px 0 0;color:var(--game-black);font-size:18px;line-height:1.15}.wce-game-card-head>strong{color:#36363b;font-size:13px}.wce-game-trend-card{min-height:250px}.wce-game-trend-svg{display:block;width:100%;height:185px;overflow:visible}.wce-game-trend-axis{stroke:#dfdfe3;stroke-width:1}.wce-game-trend-area{fill:url(#wceGameTrendFill);stroke:none}.wce-game-trend-line{fill:none;stroke:var(--game-orange);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.wce-game-trend-dot{fill:#fff;stroke:var(--game-orange);stroke-width:2;vector-effect:non-scaling-stroke}.wce-game-trend-empty{display:flex;align-items:center;justify-content:center;min-height:170px;padding:20px;border:1px dashed var(--game-border);border-radius:14px;color:var(--game-muted);text-align:center}.wce-game-recent-list{display:grid;gap:2px}.wce-game-recent-list>div{display:grid;grid-template-columns:35px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:9px 5px;border-bottom:1px solid #efeff1}.wce-game-recent-list>div:last-child{border-bottom:0}.wce-game-point-icon{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:10px;background:#f5f5f6;font-size:17px}.wce-game-recent-list>div>div{min-width:0}.wce-game-recent-list strong,.wce-game-recent-list small{display:block}.wce-game-recent-list strong{overflow:hidden;color:#26262a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.wce-game-recent-list small{margin-top:2px;color:#85858b;font-size:10.5px}.wce-game-recent-list>div>b{color:#24713b;font-size:14px;font-variant-numeric:tabular-nums}.wce-game-recent-list>div>b.is-negative{color:#9a241e}.wce-game-recent-list>p{margin:18px 0;color:var(--game-muted);text-align:center}
.wce-game-achievements-card{padding:20px}.wce-game-achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.wce-game-achievement-grid>article{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid #e6e6e9;border-radius:14px;background:#fafafb}.wce-game-achievement-grid>article>span{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#fff;font-size:22px;box-shadow:0 2px 8px rgba(0,0,0,.04)}.wce-game-achievement-grid>article>div{min-width:0}.wce-game-achievement-grid strong,.wce-game-achievement-grid small{display:block}.wce-game-achievement-grid strong{color:#29292d;font-size:12px}.wce-game-achievement-grid small{margin-top:2px;color:var(--game-muted);font-size:10.5px;line-height:1.35}.wce-game-achievement-grid>article>b{color:#85858b;font-size:11px}.wce-game-achievement-grid>article.is-unlocked{border-color:#efc1af;background:#fff8f4}.wce-game-achievement-grid>article.is-unlocked>b{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--game-orange);color:#fff}.wce-game-achievement-grid>article.is-locked>span{filter:grayscale(1);opacity:.58}.wce-game-mini-progress{height:5px;margin-top:7px}
.wce-game-podium-card{overflow:hidden;background:linear-gradient(145deg,#fff 0%,#fffaf4 100%)}.wce-game-podium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;padding-top:5px}.wce-game-podium-grid>article{display:flex;align-items:center;flex-direction:column;min-width:0;padding:16px 10px 14px;border:1px solid #e5e5e8;border-radius:16px;background:#fff;text-align:center}.wce-game-podium-grid>article.is-place-1{order:2;border-color:#edbb58;background:linear-gradient(180deg,#fff9e9,#fff);box-shadow:0 10px 25px rgba(151,100,0,.12);transform:translateY(-5px)}.wce-game-podium-grid>article.is-place-2{order:1}.wce-game-podium-grid>article.is-place-3{order:3}.wce-game-podium-place{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:25px;margin-bottom:9px;padding:0 8px;border-radius:999px;background:#ededf0;color:#4a4a50;font-size:11px;font-weight:850}.wce-game-podium-grid .is-place-1 .wce-game-podium-place{background:#e1a824;color:#fff}.wce-game-podium-grid .is-place-2 .wce-game-podium-place{background:#9299a2;color:#fff}.wce-game-podium-grid .is-place-3 .wce-game-podium-place{background:#b87445;color:#fff}.wce-game-winner-avatar{display:flex;align-items:center;justify-content:center;width:76px;height:76px;margin:0;border:3px solid #efeff2;border-radius:50%;object-fit:cover;background:#E85D32;color:#fff;font-size:15px;font-weight:850}.wce-game-podium-grid .is-place-1 .wce-game-winner-avatar{width:88px;height:88px;border-color:#f2c45f}.wce-game-podium-grid strong,.wce-game-podium-grid small{display:block;max-width:100%}.wce-game-podium-grid strong{margin-top:9px;color:#252529;font-size:13px;line-height:1.25;overflow-wrap:anywhere}.wce-game-podium-grid small{margin-top:3px;color:var(--game-muted);font-size:11px}.wce-game-podium-empty{margin:4px 0 0;padding:22px;border:1px dashed #dfdfe4;border-radius:14px;color:var(--game-muted);line-height:1.5;text-align:center}.wce-game-daily{margin:0;padding:18px 20px;border-left:4px solid var(--game-orange);border-radius:0 16px 16px 0;background:#fff}.wce-game-daily p{margin:5px 0 0;color:#29292d;font-size:16px;font-weight:650;line-height:1.5}
.wce-person-attendance{min-width:0}.wce-person-attendance>.wce-table-scroll{width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
@media(max-width:1050px){.wce-game-shell{padding:21px}.wce-game-rings{gap:10px}.wce-game-ring-card{gap:12px;padding:15px}.wce-game-ring{flex-basis:106px;width:106px}.wce-game-ring>div{width:80px}.wce-game-ring strong{font-size:23px}.wce-game-ring span{font-size:8px}}
@media(max-width:820px){.wce-game-shell{gap:15px;padding:19px;border-radius:21px}.wce-game-header{flex-direction:column;gap:14px}.wce-game-periods{width:100%;overflow-x:auto}.wce-game-periods button{flex:1 0 auto}.wce-game-overview,.wce-game-detail-grid{grid-template-columns:1fr}.wce-game-rings{grid-template-columns:repeat(3,minmax(0,1fr))}.wce-game-ring-card{align-items:center;flex-direction:column;text-align:center}.wce-game-ring-card>small{min-height:34px}.wce-game-trend-card{min-height:220px}.wce-game-trend-svg{height:155px}.wce-game-podium-grid{gap:9px}.wce-game-podium-grid>article{padding-left:7px;padding-right:7px}}
@media(max-width:600px){.wce-game-shell{gap:13px;margin-left:0;margin-right:0;padding:14px;border-radius:18px}.wce-game-header h2{font-size:25px}.wce-game-header p{font-size:12px}.wce-game-periods{padding:3px;border-radius:12px}.wce-game-periods button{min-height:44px;padding:8px 9px}.wce-game-overview{gap:11px}.wce-game-ranking-card,.wce-game-level-card,.wce-game-card{padding:15px;border-radius:16px}.wce-game-ranking-top>strong,.wce-game-position>strong{font-size:35px}.wce-game-rings{grid-template-columns:1fr;gap:9px}.wce-game-ring-card{display:grid;grid-template-columns:116px minmax(0,1fr);align-items:center;min-height:144px;text-align:left;padding:13px 15px}.wce-game-ring{grid-row:1/3;flex-basis:auto;width:116px}.wce-game-ring>div{width:88px}.wce-game-ring strong{font-size:25px}.wce-game-ring span{font-size:8.5px}.wce-game-ring-card>small{min-height:0;font-size:12px}.wce-game-achievement-grid{grid-template-columns:1fr}.wce-game-achievement-grid>article{min-height:70px}.wce-game-trend-svg{height:135px}.wce-game-recent-list>div{padding:9px 2px}.wce-game-podium-card{padding-left:12px;padding-right:12px}.wce-game-podium-grid{gap:6px}.wce-game-podium-grid>article{padding:13px 5px 12px;border-radius:14px}.wce-game-winner-avatar{width:58px;height:58px;border-width:2px;font-size:12px}.wce-game-podium-grid .is-place-1 .wce-game-winner-avatar{width:66px;height:66px}.wce-game-podium-grid strong{font-size:11px}.wce-game-podium-grid small{font-size:10px}.wce-game-podium-place{min-width:28px;height:23px;margin-bottom:7px}.wce-game-daily{padding:15px 16px}.wce-game-daily p{font-size:14px}.wce-person-attendance{padding:15px}.wce-person-attendance .wce-table-scroll table{min-width:680px}}
@media(max-width:380px){.wce-game-shell{padding:12px}.wce-game-ranking-card{grid-template-columns:1fr 1fr;gap:9px}.wce-game-ranking-top>strong,.wce-game-position>strong{font-size:31px}.wce-game-level-head{align-items:flex-start;flex-direction:column;gap:6px}.wce-game-level-head>b{font-size:12px}.wce-game-achievement-grid>article{grid-template-columns:38px minmax(0,1fr) auto;padding:10px}.wce-game-achievement-grid>article>span{width:38px;height:38px}.wce-game-periods button{font-size:10.5px}.wce-game-ring-card{grid-template-columns:104px minmax(0,1fr);min-height:132px;padding:12px}.wce-game-ring{width:104px}.wce-game-ring>div{width:80px}.wce-game-ring strong{font-size:23px}.wce-game-ring span{font-size:7.8px}.wce-game-podium-grid .is-place-1 .wce-game-winner-avatar{width:60px;height:60px}.wce-game-winner-avatar{width:54px;height:54px}}
@media(prefers-reduced-motion:reduce){.wce-game-celebration{animation:none}.wce-game-progress i,.wce-game-mini-progress i{transition:none}}

/* 0.4.78 – Porta un amico */
.wce-referral-card{max-width:920px}.wce-referral-card .wce-card-head{margin-bottom:18px}.wce-referral-card .wce-card-head h2{margin:0 0 6px}.wce-referral-card .wce-card-head p{margin:0;color:var(--wce-muted);line-height:1.55}.wce-referral-form{display:grid;gap:18px}.wce-referral-type{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:15px 16px;border:1px solid var(--wce-border);border-radius:13px;background:#fafafa}.wce-referral-type>strong{flex:1 1 100%;font-size:15px}.wce-referral-type label{display:flex;align-items:center;gap:7px;font-weight:700}.wce-referral-type input{margin:0}.wce-referral-form .wce-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wce-referral-form .wce-field{display:flex;flex-direction:column;gap:7px}.wce-referral-form .wce-field>span{font-size:12px;font-weight:800;color:#333}.wce-referral-form input,.wce-referral-form textarea{width:100%;box-sizing:border-box;border:1px solid #d8d8de;border-radius:10px;background:#fff;padding:11px 12px;font:inherit}.wce-referral-form input:focus,.wce-referral-form textarea:focus{outline:0;border-color:var(--wce-orange);box-shadow:0 0 0 3px rgba(232,93,50,.12)}.wce-referral-form [data-wce-referral-child][hidden]{display:none!important}
@media(max-width:650px){.wce-referral-form .wce-form-grid{grid-template-columns:1fr}.wce-referral-type{align-items:flex-start;flex-direction:column}.wce-referral-type>strong{flex:auto}}

/* 0.4.81 – Porta un amico mobile cleanup */
@media(max-width:650px){
  .wce-referral-card{max-width:100%;overflow:hidden}.wce-referral-card .wce-card-head{display:block}.wce-referral-card .wce-card-head h2{font-size:22px;line-height:1.2}.wce-referral-card .wce-card-head p{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
  .wce-referral-form{gap:14px}.wce-referral-type{display:grid;grid-template-columns:1fr;gap:10px;padding:13px}.wce-referral-type>strong{width:100%;line-height:1.35}.wce-referral-type label{width:100%;min-width:0;line-height:1.35}
  .wce-referral-form .wce-form-grid{grid-template-columns:minmax(0,1fr);gap:11px}.wce-referral-form .wce-field{min-width:0}.wce-referral-form .wce-field>span{line-height:1.35;white-space:normal;overflow-wrap:anywhere}.wce-referral-form input,.wce-referral-form textarea{min-width:0;max-width:100%;font-size:16px;line-height:1.35}
  .wce-referral-form .wce-form-actions,.wce-referral-form .wce-form-actions .wce-button{width:100%}
}

/* Student notes */
.wce-student-note-form{margin-bottom:18px}.wce-student-note-list{display:grid;gap:10px;margin-top:14px}.wce-student-note-list article{padding:14px 15px;border:1px solid #e1e1e6;border-radius:12px;background:#fff}.wce-student-note-list article header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:9px}.wce-student-note-list article header>div{display:grid;gap:3px}.wce-student-note-list article header small{color:var(--wce-muted);font-size:11px}.wce-student-note-list article>div:last-child{line-height:1.55;overflow-wrap:anywhere}
@media(max-width:650px){.wce-student-note-list article header{flex-direction:column}.wce-student-note-list .button-link-delete{align-self:flex-start}}


/* 0.4.82 – Porta un amico e Note personali */
.wce-referral-type{display:block!important;margin:0;padding:15px 16px!important;border:1px solid var(--wce-border);border-radius:13px;background:#fafafa;min-width:0}.wce-referral-type legend{display:block;width:100%;padding:0 0 10px;font-size:15px;font-weight:800;color:#202024}.wce-referral-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wce-referral-option{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:center!important;justify-content:start!important;gap:10px!important;width:auto!important;min-width:0;padding:12px 13px;border:1px solid #dedee3;border-radius:11px;background:#fff;font-weight:750!important;text-align:left!important;cursor:pointer}.wce-referral-option:has(input:checked){border-color:var(--wce-orange);box-shadow:0 0 0 2px rgba(232,93,50,.10);background:#fff9f6}.wce-referral-option input[type=radio]{width:20px!important;height:20px!important;min-width:20px!important;margin:0!important;justify-self:start}.wce-referral-option span{display:block!important;min-width:0!important;font-size:14px!important;line-height:1.3!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere}
.wce-personal-notes{margin-bottom:18px}.wce-personal-notes-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--wce-border)}.wce-personal-notes-head h2{margin:3px 0 5px}.wce-personal-notes-head p{margin:0;color:var(--wce-muted);line-height:1.5}.wce-personal-notes-kicker{display:block;color:var(--wce-orange);font-size:10px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.wce-personal-note-compose{display:grid;grid-template-columns:minmax(180px,.6fr) minmax(260px,1.4fr) auto;align-items:end;gap:12px}.wce-personal-note-compose label{display:grid;gap:6px}.wce-personal-note-compose label>span{font-size:12px;font-weight:800}.wce-personal-note-compose input,.wce-personal-note-compose textarea,.wce-personal-note-tools input{width:100%;box-sizing:border-box;border:1px solid #d8d8de;border-radius:10px;background:#fff;padding:11px 12px;font:inherit}.wce-personal-note-tools{margin:18px 0 10px;padding-top:15px;border-top:1px solid var(--wce-border)}.wce-personal-note-tools form{display:grid;gap:6px}.wce-personal-note-tools label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--wce-muted)}.wce-personal-note-tools form>div{display:flex;align-items:center;gap:8px}.wce-personal-note-list{display:grid;gap:10px;margin-top:12px}.wce-personal-note-list article{padding:14px 15px;border:1px solid #e1e1e6;border-radius:12px;background:#fff}.wce-personal-note-list article header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.wce-personal-note-list article time{color:var(--wce-muted);font-size:11px;white-space:nowrap}.wce-personal-note-list article>div{line-height:1.55;overflow-wrap:anywhere}.wce-personal-notes-empty{color:var(--wce-muted);padding:8px 0 0}
@media(max-width:650px){.wce-referral-options{grid-template-columns:1fr}.wce-referral-type{padding:13px!important}.wce-referral-option{grid-template-columns:22px minmax(0,1fr)!important;padding:12px!important}.wce-personal-notes-head{flex-direction:column}.wce-personal-notes-head .wce-button{width:100%}.wce-personal-note-compose{grid-template-columns:1fr}.wce-personal-note-compose .wce-form-actions,.wce-personal-note-compose .wce-button{width:100%}.wce-personal-note-tools form>div{align-items:stretch;flex-direction:column}.wce-personal-note-tools form>div .wce-button{width:100%}.wce-personal-note-list article header{flex-direction:column;gap:4px}}

/* 0.6.17 – Privacy e richiesta cancellazione account */
.wce-account-deletion-card{border-color:#efd1cd}.wce-button-danger,.wce-button-danger:hover,.wce-button-danger:focus{background:#b42318!important;border-color:#b42318!important;color:#fff!important}.wce-account-deletion-card p{max-width:820px;line-height:1.55;color:var(--wce-muted)}
@media(max-width:700px){.wce-account-deletion-card .wce-button{display:flex;width:100%;min-width:0;justify-content:center;box-sizing:border-box}}

/* 0.4.83 – Note personali: editor espandibile, cancellazione ed export */
.wce-personal-note-export{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.wce-personal-note-export label{display:grid;gap:5px}.wce-personal-note-export label>span{font-size:10px;font-weight:850;letter-spacing:.05em;text-transform:uppercase;color:var(--wce-muted)}.wce-personal-note-export select{min-width:96px;border:1px solid #d8d8de;border-radius:10px;background:#fff;padding:10px 34px 10px 11px;font:inherit}.wce-personal-note-compose textarea[data-wce-personal-note-autogrow]{min-height:120px;overflow-y:hidden;resize:none;line-height:1.5}.wce-personal-note-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.wce-personal-note-delete{color:#b42318;font-size:11px;font-weight:800;text-decoration:none}.wce-personal-note-delete:hover{text-decoration:underline}
@media(max-width:650px){.wce-personal-note-export{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto}.wce-personal-note-export label{min-width:0}.wce-personal-note-export select{width:100%;min-width:0}.wce-personal-note-export .wce-button{width:auto!important}.wce-personal-note-actions{justify-content:flex-start}.wce-personal-note-compose textarea[data-wce-personal-note-autogrow]{min-height:150px}}


/* 0.4.85 – navigazione mobile admin e colori WCE coerenti. */
@media(max-width:900px){
  .wce-mobile-nav.has-academy-switch{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .wce-manager-mobile-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .wce-manager-mobile-nav.has-instructor-area{grid-template-columns:repeat(6,minmax(0,1fr))!important;padding-right:5px!important;padding-left:5px!important;gap:1px!important}
  .wce-manager-mobile-nav a{font-size:clamp(7.5px,2.25vw,10.5px)!important;line-height:1.05!important;padding-right:1px!important;padding-left:1px!important}
  .wce-manager-mobile-nav a>span:last-child{display:block;max-width:100%;text-align:center;white-space:normal;overflow-wrap:anywhere}
  .wce-mobile-nav .wce-mobile-more-toggle:hover,.wce-mobile-nav .wce-mobile-more-toggle:focus,.wce-mobile-nav .wce-mobile-more-toggle:active,
  .wce-mobile-nav .wce-mobile-academy-switch:hover,.wce-mobile-nav .wce-mobile-academy-switch:focus,.wce-mobile-nav .wce-mobile-academy-switch:active{color:var(--wce-orange)!important;background:rgba(232,93,50,.12)!important;outline:0!important;box-shadow:0 0 0 2px rgba(232,93,50,.18)!important}
  .wce-mobile-more-close,.wce-mobile-more-close:hover,.wce-mobile-more-close:focus,.wce-mobile-more-close:active{background:#E85D32!important;color:#fff!important;border-color:#E85D32!important;outline:0!important;box-shadow:0 0 0 3px rgba(232,93,50,.18)!important}
  .wce-mobile-more-backdrop:focus,.wce-mobile-more-backdrop:active{outline:0!important;box-shadow:none!important}
}

/* 0.6.30 – preferenze e stato delle notifiche push native. */
.wce-push-settings{display:grid;gap:18px;margin-bottom:18px;border-color:#dedee3;background:linear-gradient(145deg,#fff 0%,#fff 70%,#fff6f1 100%);overflow:hidden}
.wce-push-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:16px;border-bottom:1px solid var(--wce-border)}
.wce-push-settings-head h2{margin:4px 0 5px}.wce-push-settings-head p{max-width:680px;margin:0;color:var(--wce-muted);line-height:1.5}
.wce-push-status{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:8px 11px;border:1px solid #dedee3;border-radius:999px;background:#f7f7f8;color:#55565c;font-size:11px;font-weight:800;white-space:nowrap}
.wce-push-status i{display:block;width:9px;height:9px;border-radius:50%;background:#a6a7ab;box-shadow:0 0 0 3px rgba(120,120,125,.12)}
.wce-push-status[data-state=active]{border-color:#b8e3c4;background:#effbf2;color:#176c35}.wce-push-status[data-state=active] i{background:#28a653;box-shadow:0 0 0 3px rgba(40,166,83,.14)}
.wce-push-status[data-state=pending]{border-color:#f0d2a6;background:#fff8eb;color:#82520c}.wce-push-status[data-state=pending] i{background:#e49b2f;animation:wce-push-pulse 1.1s ease-in-out infinite}
.wce-push-status[data-state=denied],.wce-push-status[data-state=error]{border-color:#efc0bc;background:#fff2f1;color:#9f241d}.wce-push-status[data-state=denied] i,.wce-push-status[data-state=error] i{background:#c7372d}
.wce-push-status[data-state=off] i{background:#77797f}@keyframes wce-push-pulse{50%{opacity:.35}}
.wce-push-native-controls{display:grid;gap:8px}.wce-push-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.wce-push-feedback{min-height:18px;margin:0;color:var(--wce-muted);font-size:12px;line-height:1.45}
.wce-push-web-note{margin:0;padding:12px 14px;border-radius:11px;background:#f5f5f7;color:#5f6066;font-size:12px;line-height:1.45}
.wce-push-preferences{display:grid;gap:13px}.wce-push-preferences fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-width:0;margin:0;padding:0;border:0}
.wce-push-preferences legend{grid-column:1/-1;width:100%;margin:0 0 2px;padding:0;color:#252529;font-size:13px;font-weight:850}
.wce-push-preference{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;padding:13px 14px;border:1px solid #e1e1e5;border-radius:13px;background:#fff;cursor:pointer}
.wce-push-preference>span{min-width:0}.wce-push-preference strong,.wce-push-preference small{display:block}.wce-push-preference strong{color:#28282c;font-size:12px}.wce-push-preference small{margin-top:3px;color:var(--wce-muted);font-size:10.5px;line-height:1.35}
.wce-push-preference input[type=checkbox]{position:relative;width:42px!important;height:24px!important;min-width:42px;margin:0!important;border:0!important;border-radius:999px!important;background:#d8d8dc!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important;transition:background .18s ease;cursor:pointer}
.wce-push-preference input[type=checkbox]:before{content:""!important;position:absolute;left:3px;top:3px;width:18px!important;height:18px!important;margin:0!important;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.22);transition:transform .18s ease}
.wce-push-preference input[type=checkbox]:checked{background:var(--wce-orange)!important}.wce-push-preference input[type=checkbox]:checked:before{transform:translateX(18px)}
.wce-push-preference input[type=checkbox]:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(232,93,50,.2)!important}
.wce-push-privacy-note{margin:0;padding-top:2px;color:#74757a;font-size:10.5px;line-height:1.45}
@media(max-width:720px){.wce-push-settings{gap:15px}.wce-push-settings-head{flex-direction:column;gap:11px}.wce-push-status{white-space:normal}.wce-push-preferences fieldset{grid-template-columns:1fr}.wce-push-actions{align-items:stretch;flex-direction:column}.wce-push-actions .wce-button,.wce-push-preferences>.wce-button{display:flex;width:100%;justify-content:center;box-sizing:border-box}.wce-push-preference{padding:12px}}
@media(prefers-reduced-motion:reduce){.wce-push-status[data-state=pending] i{animation:none}.wce-push-preference input[type=checkbox],.wce-push-preference input[type=checkbox]:before{transition:none}}

/* 0.6.34-alpha – centro Impostazioni condiviso da Portal, iOS e Android. */
.wce-settings-page{display:grid;gap:18px;width:100%;max-width:980px;margin:0 auto}
.wce-settings-page>.wce-card,.wce-settings-page>.wce-alert{margin:0}
.wce-settings-page>.wce-push-settings{margin-bottom:0}
.wce-settings-intro{border-color:#dedee3;background:linear-gradient(145deg,#fff 0%,#fff 62%,#fff2eb 100%)}
.wce-settings-intro h2{margin:5px 0 7px;font-size:clamp(25px,3vw,34px);line-height:1.08}
.wce-settings-intro p,.wce-settings-card-head p{max-width:760px;margin:0;color:var(--wce-muted);line-height:1.55}
.wce-settings-card{display:grid;gap:16px}
.wce-settings-card-head{padding-bottom:15px;border-bottom:1px solid var(--wce-border)}
.wce-settings-card-head h2{margin:4px 0 6px}
.wce-settings-card .wce-email-preferences-form{margin-top:0}
.wce-settings-actions{display:grid;gap:10px}
.wce-settings-action{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:13px;width:100%;min-width:0;padding:13px 14px;border:1px solid #e0e0e5;border-radius:13px;background:#fff;color:#242428;font:inherit;text-align:left;text-decoration:none;box-sizing:border-box;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.wce-settings-action:hover{border-color:#edb9a8;background:#fff8f4;color:#242428;box-shadow:0 5px 16px rgba(35,35,40,.06)}
.wce-settings-action:focus-visible{outline:0;border-color:var(--wce-orange);box-shadow:0 0 0 3px rgba(232,93,50,.18)}
.wce-settings-action>span:nth-child(2){min-width:0}
.wce-settings-action>span:first-child{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#fff0e9;color:var(--wce-orange);font-size:21px;line-height:1}
.wce-settings-action strong,.wce-settings-action small{display:block;max-width:100%;overflow-wrap:normal;word-break:normal}
.wce-settings-action strong{font-size:13px;line-height:1.25}.wce-settings-action small{margin-top:3px;color:var(--wce-muted);font-size:10.5px;line-height:1.4}
.wce-settings-action-arrow{width:auto!important;height:auto!important;background:transparent!important;color:#9b9ca1!important;font-size:18px!important}
.wce-settings-action-danger{border-color:#f0d0cb;background:#fffafa}.wce-settings-action-danger>span:first-child{background:#fff0ef;color:#b42318}.wce-settings-action-danger strong{color:#a72218}
[data-wce-app-security-settings]:empty{display:none}
[data-wce-app-security-settings]:not(:empty){display:grid;gap:10px}
@media(max-width:650px){.wce-settings-page{gap:14px}.wce-settings-card{gap:14px}.wce-settings-card-head{padding-bottom:13px}.wce-settings-action{grid-template-columns:39px minmax(0,1fr) auto;gap:11px;padding:12px}.wce-settings-action>span:first-child{width:38px;height:38px;border-radius:10px;font-size:19px}.wce-settings-action strong{font-size:12px}.wce-settings-action small{font-size:10px}.wce-settings-intro h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){.wce-settings-action{transition:none}}

/* 0.6.33-alpha – login professionale e navigazione Android più compatta. */
.wce-login-card-login .wce-login-form{margin-top:24px}
.wce-login-card-login .wce-login-form>label{margin:0 0 7px}
.wce-login-card-login .wce-login-form>input[type=email]{min-height:50px;margin:0 0 18px}
.wce-password-field{position:relative;width:100%}
.wce-login-card .wce-password-field>input[type=password],.wce-login-card .wce-password-field>input[type=text]{min-height:50px;padding-right:54px}
.wce-login-card .wce-password-toggle{position:absolute;top:50%;right:5px;display:flex;align-items:center;justify-content:center;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#5c5c62!important;line-height:1!important;box-shadow:none!important;cursor:pointer;transform:translateY(-50%);appearance:none;-webkit-appearance:none}
.wce-login-card .wce-password-toggle:hover{background:#f2f2f4!important;color:var(--wce-orange)!important}
.wce-login-card .wce-password-toggle:focus-visible{outline:0!important;background:#fff4ef!important;color:var(--wce-orange)!important;box-shadow:0 0 0 3px rgba(232,93,50,.18)!important}
.wce-password-toggle svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.wce-password-toggle.is-visible:after{content:"";position:absolute;width:24px;height:2px;border-radius:2px;background:currentColor;transform:rotate(-45deg);pointer-events:none}
.wce-login-card-login .login-remember{margin:15px 0 20px}
.wce-login-card-login .login-remember label{display:flex;align-items:center;gap:9px;margin:0;font-weight:400}
.wce-login-card-login .login-remember input[type=checkbox]{width:20px;height:20px;min-width:20px;margin:0;accent-color:var(--wce-orange)}
.wce-login-card-login .wce-login-form>input[type=submit]{min-height:50px}
.wce-login-card-login .wce-forgot-password-link{display:block;margin-top:22px}
.wce-login-card-login .wce-create-account-link{margin-top:18px}
.wce-login-card-login .wce-login-back{margin-top:26px;padding-top:20px}
@media(max-width:600px){
  .wce-login-card-login .wce-login-form{margin-top:21px}
  .wce-login-card-login .wce-login-form>input[type=email]{margin-bottom:16px}
  .wce-login-card-login .login-remember{margin:14px 0 19px}
  .wce-login-card-login .wce-forgot-password-link{margin-top:20px}
  .wce-login-card-login .wce-create-account-link{margin-top:17px}
  .wce-login-card-login .wce-login-back{margin-top:25px;padding-top:18px}
}
@media(max-width:900px){
  .wce-mobile-more-item{grid-template-columns:35px minmax(0,1fr);gap:8px;min-height:68px;padding:10px!important}
  .wce-mobile-more-item>.dashicons{width:35px;height:35px;font-size:20px;line-height:35px}
  .wce-mobile-more-item strong{font-size:12.5px;line-height:1.18;overflow-wrap:normal;word-break:normal;hyphens:none}
  .wce-mobile-more-item small{font-size:9.5px;line-height:1.28;overflow-wrap:normal;word-break:normal;hyphens:none}
  .wce-manager-mobile-nav a{font-size:clamp(7px,1.9vw,9px)!important;line-height:1!important;gap:3px!important}
  .wce-manager-mobile-nav .dashicons{width:29px;height:25px;font-size:20px;line-height:25px}
  .wce-manager-mobile-nav a>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:clip;overflow-wrap:normal;word-break:normal;letter-spacing:-.015em}
}
@media(max-width:380px){
  .wce-mobile-more-item{grid-template-columns:32px minmax(0,1fr);gap:7px;padding:9px!important}
  .wce-mobile-more-item>.dashicons{width:32px;height:32px;line-height:32px}
  .wce-mobile-more-item strong{font-size:12px}
  .wce-mobile-more-item small{font-size:9px}
}
