/* ==========================================================================
   FASE 12 · classi al posto degli attributi style="" delle viste (generato).
   Stesso aspetto di prima: ogni regola riproduce un vecchio stile in linea.
   Il triplo :not(#pf) alza la specificità quanto serve a battere i fogli di tema,
   come faceva lo stile in linea. Non modificare a mano: sostituire con classi di componente.
   ========================================================================== */
html:not(#pf):not(#pf):not(#pf) .pf-st-00858e7f { border-radius: 8px; font-size: 13.5px; border-width: 1.5px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-019c54fd { background: var(--pf-action, #0563F0); border-color: var(--pf-action, #0563F0); border-radius: 6px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-020e277b { width: 40px; height: 40px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); font-size: 18px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-02850d3b { font-size: 12px; width: 130px; border-color: var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-049e179f { font-size: 13px; transition: all 0.2s ease; border-width: 1.5px; background: var(--pf-surface, #FFFFFF); }
html:not(#pf):not(#pf):not(#pf) .pf-st-054554ff { border-radius: 8px; font-size: 14px; background: var(--pf-surface, #FFFFFF); }
html:not(#pf):not(#pf):not(#pf) .pf-st-05854e51 { font-size: 14px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-075c70fa { border-top-right-radius: 8px; border-bottom-right-radius: 8px; font-size: 13px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-07d042bf { font-size: 12.5px; background: var(--pf-info, #0B6E8E); border: none; }
html:not(#pf):not(#pf):not(#pf) .pf-st-09e3e497 { width: 20px; height: 20px; cursor: pointer; }
html:not(#pf):not(#pf):not(#pf) .pf-st-0a29f2ec { width: 64px; height: 64px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); font-size: 28px; border: 1px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-0a8f0eef { border-color: var(--pf-border, #D4D3D1) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-0b67f837 { font-size: 12px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); border: 1px solid #7dd3fc; }
html:not(#pf):not(#pf):not(#pf) .pf-st-0dedb37c { border-radius: 6px; font-size: 13px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-0ff92b2f { width: 100%; max-width: 500px; margin: auto; }
html:not(#pf):not(#pf):not(#pf) .pf-st-1145c6d3 { font-size: 16px; color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-11fcdc57 { font-size: 12px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-12cd9e7a { border-radius: 6px; font-size: 13.5px; background: var(--pf-blue-800, #022A66); color: #ffffff; border: 1px solid #1e293b; min-width: 150px; text-align: center; }
html:not(#pf):not(#pf):not(#pf) .pf-st-1337d4de { color: var(--pf-warn, #8A5A00); }
html:not(#pf):not(#pf):not(#pf) .pf-st-152e6f6b { width: 40px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-15951aef { border-top-right-radius: 8px; border-bottom-right-radius: 8px; font-size: 12px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-167a7480 { font-size: 12.5px; line-height: 1.4; color: var(--pf-text-muted, #6E6E6C); }
html:not(#pf):not(#pf):not(#pf) .pf-st-17252301 { font-size: 12px; background: transparent; }
html:not(#pf):not(#pf):not(#pf) .pf-st-18b34a93 { font-size: 16.5px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-19f27cf6 { min-width: 170px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-1a860fc0 { background: var(--pf-action-soft, #DAE8FD); border-left: 4px solid var(--pf-action, #0563F0); padding: 12px 16px; border-radius: 8px; border: 1px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-1e2cb8ed { background: var(--pf-action, #0563F0); border: none; border-radius: 8px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-1e748bb4 { font-size: 12px; background: var(--pf-ok-bg, #E6F4EC); }
html:not(#pf):not(#pf):not(#pf) .pf-st-1eb156da { border-radius: var(--pf-r-lg, 16px); background: var(--pf-surface, #FFFFFF); border: 2px solid var(--pf-ok, #1F7A4D) !important; overflow: hidden; }
html:not(#pf):not(#pf):not(#pf) .pf-st-1edba466 { font-size: 12.5px; line-height: 1.4; }
html:not(#pf):not(#pf):not(#pf) .pf-st-1f8e7d1e { background: var(--pf-surface-2, #F7F6F4); }
html:not(#pf):not(#pf):not(#pf) .pf-st-1fe1aaf0 { z-index: 1055; }
html:not(#pf):not(#pf):not(#pf) .pf-st-213791db { max-width: 820px; z-index: 1066; }
html:not(#pf):not(#pf):not(#pf) .pf-st-2212dbc4 { font-size: 80px; opacity: 0.04; pointer-events: none; }
html:not(#pf):not(#pf):not(#pf) .pf-st-22cc8244 { background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); }
html:not(#pf):not(#pf):not(#pf) .pf-st-2338c450 { background: var(--pf-surface-2, #F7F6F4); border: 1.5px dashed var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-245f1d6a { background-color: var(--pf-action-soft, #DAE8FD); border-color: var(--pf-border, #D4D3D1); color: var(--pf-link, #0563F0); }
html:not(#pf):not(#pf):not(#pf) .pf-st-24d348a2 { font-size: 19px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-252f8ffa { width: 38px; height: 38px; background: rgba(255,255,255,0.15); font-size: 18px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-25f8ac8c { font-size: 12px; transition: all 0.2s; }
html:not(#pf):not(#pf):not(#pf) .pf-st-262eece0 { font-size: 12px; border-radius: 8px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-274941ae { background: var(--pf-surface, #FFFFFF); color: var(--pf-link, #0563F0); border: 1px solid var(--pf-action, #0563F0); }
html:not(#pf):not(#pf):not(#pf) .pf-st-277ebdc4 { font-size: 14px; line-height: 1.55; }
html:not(#pf):not(#pf):not(#pf) .pf-st-2817e522 { background: var(--pf-ok-bg, #E6F4EC); color: var(--pf-ok, #1F7A4D); }
html:not(#pf):not(#pf):not(#pf) .pf-st-284c6316 { font-size: 12px; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-2ac322a8 { width: 50px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-2bd3eee0 { font-size: 12.5px; color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-2c5b5069 { min-width: 150px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-2d9f1f66 { width: 32px; height: 32px; background: var(--pf-border, #D4D3D1); color: var(--pf-text-muted, #6E6E6C); font-size: 13px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-2e02ea67 { width: 0%; background: var(--pf-action, #0563F0); transition: width .35s ease; }
html:not(#pf):not(#pf):not(#pf) .pf-st-2e43585e { background: var(--pf-warn-bg, #FDF1D8); border-color: var(--pf-border, #D4D3D1) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-2ed4c29b { border-radius: 6px; font-size: 13.5px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-30ecc39c { z-index: 1085; }
html:not(#pf):not(#pf):not(#pf) .pf-st-30f50793 { border-radius: var(--pf-r-md, 12px); background: var(--pf-surface, #FFFFFF); border-left: 5px solid var(--pf-info, #0B6E8E) !important; box-shadow: var(--pf-shadow-sm, 0 1px 2px rgba(2,25,60,.06)) !important; transition: all 0.3s ease; }
html:not(#pf):not(#pf):not(#pf) .pf-st-31662dfd { background: var(--pf-surface-2, #F7F6F4); border-color: var(--pf-border, #D4D3D1) !important; transition: all 0.2s; }
html:not(#pf):not(#pf):not(#pf) .pf-st-3333f995 { background: var(--pf-ok-bg, #E6F4EC); border: 1px solid #86efac; }
html:not(#pf):not(#pf):not(#pf) .pf-st-33f2a66d { min-width: 0; }
html:not(#pf):not(#pf):not(#pf) .pf-st-37d1250a { background: var(--pf-action, #0563F0); font-size: 13.5px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-3846fd31 { width: 36px; height: 36px; background: var(--pf-warn-bg, #FDF1D8); color: var(--pf-warn, #8A5A00); }
html:not(#pf):not(#pf):not(#pf) .pf-st-39aa9caa { background: var(--pf-border, #D4D3D1); color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-3bfb508b { border-radius: var(--pf-r-md, 12px); background: var(--pf-surface, #FFFFFF); border-left: 4px solid var(--pf-action, #0563F0) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-3c2d66ec { width: 48px; height: 48px; background: var(--pf-border, #D4D3D1); color: var(--pf-text-muted, #6E6E6C); font-size: 20px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-3d622b37 { background: var(--pf-warn-bg, #FDF1D8); color: var(--pf-err, #B42318); font-size: 12px; vertical-align: middle; }
html:not(#pf):not(#pf):not(#pf) .pf-st-3d9a71a6 { color: var(--pf-ok, #1F7A4D); }
html:not(#pf):not(#pf):not(#pf) .pf-st-3e781fad { background: var(--pf-warn-bg, #FDF1D8); color: var(--pf-warn, #8A5A00); }
html:not(#pf):not(#pf):not(#pf) .pf-st-3ece9eb5 { background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); font-size: 12px; padding: 5px 12px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-3fb2a73d { max-width: 100%; white-space: normal; overflow-wrap: anywhere; font-size: 12px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-41ad4210 { border-top-left-radius: 10px; border-bottom-left-radius: 10px; border-color: var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-4398bb47 { flex: 1 1 280px; font-size: 13.5px; color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-43c47823 { background: var(--pf-surface-2, #F7F6F4); font-size: 13px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-445f71b3 { background: var(--pf-warn-bg, #FDF1D8); border-left: 3px solid var(--pf-warn, #8A5A00); border-radius: 6px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-4489101f { background: var(--pf-warn-bg, #FDF1D8); border-left: 5px solid var(--pf-warn, #8A5A00) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-457792a7 { font-size: 12px; background: var(--pf-warn-bg, #FDF1D8); color: var(--pf-err, #B42318); border: 1px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-4589195a { width: 72px; height: 72px; background: var(--pf-ok-bg, #E6F4EC); font-size: 34px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-4597af92 { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-464ec1ea { font-size: 17.5px; color: var(--pf-text, #1A1A18); line-height: 1.35; }
html:not(#pf):not(#pf):not(#pf) .pf-st-47996f35 { opacity: .62; }
html:not(#pf):not(#pf):not(#pf) .pf-st-49c37c7a { overflow-x: auto; background: var(--pf-surface, #FFFFFF); border-radius: 6px; padding: 14px; border: 1px solid var(--pf-border, #D4D3D1); line-height: 1.6; font-size: 13.5px; color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-4acd0bf1 { max-height: 180px; overflow-y: auto; }
html:not(#pf):not(#pf):not(#pf) .pf-st-4d2a6c51 { min-width: 250px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-4e448917 { border-color: var(--pf-border, #D4D3D1) !important; min-height: 46px; border-radius: var(--pf-r-md, 12px) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-4ed1be2a { width: 58px; height: 58px; background: var(--pf-action, #0563F0); font-size: 24px; box-shadow: var(--pf-shadow-sm, 0 1px 2px rgba(2,25,60,.06)); }
html:not(#pf):not(#pf):not(#pf) .pf-st-50435ff2 { margin-bottom: 0; }
html:not(#pf):not(#pf):not(#pf) .pf-st-512a4bf9 { font-size: 13px; line-height: 1.5; color: var(--pf-text-muted, #6E6E6C); }
html:not(#pf):not(#pf):not(#pf) .pf-st-519ac755 { font-size: 13px; line-height: 1.5; color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-522cbc91 { z-index: 1090; }
html:not(#pf):not(#pf):not(#pf) .pf-st-52e4e3a2 { background: var(--pf-surface-2, #F7F6F4); border: 1px solid var(--pf-border, #D4D3D1); border-radius: var(--pf-r-md, 12px); }
html:not(#pf):not(#pf):not(#pf) .pf-st-537f4aaa { font-size: 12px; border-radius: 6px; background: var(--pf-ok-bg, #E6F4EC); color: var(--pf-info, #0B6E8E); border: 1px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-545c4427 { font-size: 12px; opacity: 0.9; }
html:not(#pf):not(#pf):not(#pf) .pf-st-55cb0e28 { border-radius: var(--pf-r-md, 12px); }
html:not(#pf):not(#pf):not(#pf) .pf-st-564eeae6 { font-size: 12px; color: var(--pf-warn, #8A5A00); }
html:not(#pf):not(#pf):not(#pf) .pf-st-5679e27a { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: left; font-size: 12px; background: var(--pf-info-bg, #E3F2F7); color: var(--pf-info, #0B6E8E); border: 1px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-5728d65d { width: 48px; height: 48px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); font-size: 20px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-5789d262 { background: var(--pf-surface-2, #F7F6F4); border-color: var(--pf-border, #D4D3D1) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-57ba4c21 { border-radius: 8px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-586bd73e { background: var(--pf-surface-2, #F7F6F4); border: 1px solid var(--pf-border, #D4D3D1); min-width: 260px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-58f135a5 { font-size: 12px; background: var(--pf-err-bg, #FDE8E6); color: var(--pf-err, #B42318); border: 1px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-5971df01 { font-size: 13px; line-height: 1.4; color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-5b4b4916 { background: var(--pf-err-bg, #FDE8E6); color: var(--pf-err, #B42318); }
html:not(#pf):not(#pf):not(#pf) .pf-st-5d7eca92 { border-radius: 8px 0 0 8px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-5db274e3 { min-width: 120px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-5fa6d763 { max-width: 640px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-60da9cbe { font-weight: 460; }
html:not(#pf):not(#pf):not(#pf) .pf-st-62fd4ec4 { font-size: 12px; background: var(--pf-action, #0563F0); }
html:not(#pf):not(#pf):not(#pf) .pf-st-63f262fa { font-size: 12.5px; line-height: 1.45; color: var(--pf-text-muted, #6E6E6C); }
html:not(#pf):not(#pf):not(#pf) .pf-st-6405b79b { font-size: 12px; border-radius: 6px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-65588fdf { font-size: 12px; letter-spacing: 0.5px; color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-65c859ca { width: 32px; height: 32px; background: var(--pf-surface-2, #F7F6F4); color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-66048f10 { background: var(--pf-action, #0563F0) !important; border-radius: var(--pf-r-md, 12px) !important; font-size: 14px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-66c7409c { color: #F59E0B; }
html:not(#pf):not(#pf):not(#pf) .pf-st-66e4dfcb { border-radius: var(--pf-r-md, 12px); background: var(--pf-action-soft, #DAE8FD); border-left: 4px solid var(--pf-action, #0563F0) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-6807ad10 { font-size: 18px; color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-68df61b8 { font-size: 28px; color: var(--pf-link, #0563F0); font-weight: 800; }
html:not(#pf):not(#pf):not(#pf) .pf-st-6a275298 { border-radius: var(--pf-r-md, 12px) !important; font-size: 14px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-6a2b8f66 { background: var(--pf-ok-bg, #E6F4EC); border: 1.5px solid #86efac; }
html:not(#pf):not(#pf):not(#pf) .pf-st-6b189403 { font-size: 13px; color: var(--pf-text-muted, #6E6E6C); }
html:not(#pf):not(#pf):not(#pf) .pf-st-6b78987f { width: 42px; height: 42px; background: var(--pf-action, #0563F0) !important; border-radius: var(--pf-r-md, 12px) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-6b8ac814 { max-height: 55px; overflow-y: auto; font-size: 12px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-6e5656c4 { width: 32px; height: 32px; font-size: 14px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-6fe53caa { font-size: 38px; color: #F59E0B; }
html:not(#pf):not(#pf):not(#pf) .pf-st-701fc6e1 { background: var(--pf-action, #0563F0) !important; border: none; border-radius: 6px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-70499437 { font-size: 17.5px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-74309d34 { background: var(--pf-action-soft, #DAE8FD); }
html:not(#pf):not(#pf):not(#pf) .pf-st-74336b70 { width: 36px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-74fa97c2 { cursor: pointer; }
html:not(#pf):not(#pf):not(#pf) .pf-st-75e1dbc4 { width: 42px; height: 42px; background: var(--pf-ok-bg, #E6F4EC); color: var(--pf-info, #0B6E8E); font-size: 18px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-7658db57 { background: var(--pf-surface-2, #F7F6F4); font-size: 12px; border: 1px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-769e2bbb { width: 20px; height: 20px; background: var(--pf-ok-bg, #E6F4EC); color: var(--pf-info, #0B6E8E); font-size: 12px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-77813ece { border-radius: var(--pf-r-lg, 16px); overflow: hidden; background: var(--pf-surface-2, #F7F6F4); }
html:not(#pf):not(#pf):not(#pf) .pf-st-78388bdb { width: 46px; height: 46px; background: rgba(59, 130, 246, 0.2); border: 1px solid rgba(59, 130, 246, 0.4); }
html:not(#pf):not(#pf):not(#pf) .pf-st-789ec50c { background: var(--pf-surface, #FFFFFF); }
html:not(#pf):not(#pf):not(#pf) .pf-st-79181428 { width: 38px; height: 38px; font-size: 18px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-7b3df97d { border-radius: 6px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-7da4e821 { font-size: 16px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-7e163e18 { font-size: 22px; font-weight: 700; }
html:not(#pf):not(#pf):not(#pf) .pf-st-810f5b21 { max-height: 420px; overflow-y: auto; }
html:not(#pf):not(#pf):not(#pf) .pf-st-81139848 { max-height: 440px; overflow-y: auto; }
html:not(#pf):not(#pf):not(#pf) .pf-st-81a24ac9 { color: var(--pf-link, #0563F0); font-size: 14px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-81c0929c { background: var(--pf-warn-bg, #FDF1D8); color: var(--pf-err, #B42318); font-size: 12px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-832e3126 { background: rgba(15, 23, 42, 0.7); z-index: 1065; }
html:not(#pf):not(#pf):not(#pf) .pf-st-8375775f { background: var(--pf-surface, #FFFFFF); border: 2px solid var(--pf-ok, #1F7A4D); border-radius: var(--pf-r-lg, 16px); }
html:not(#pf):not(#pf):not(#pf) .pf-st-840fd54d { border-radius: 8px; font-size: 13.5px; background: var(--pf-action, #0563F0); border: none; }
html:not(#pf):not(#pf):not(#pf) .pf-st-84adc358 { max-height: 140px; overflow-y: auto; }
html:not(#pf):not(#pf):not(#pf) .pf-st-84d4f774 { width: 46px; height: 46px; background: var(--pf-ok-bg, #E6F4EC); color: var(--pf-ok, #1F7A4D); font-size: 21px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-85070536 { font-size: 32px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-856e4377 { height: 12px; border-radius: 8px; background: var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-8a7b974c { height: 6px; border-radius: 4px; background: var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-8ba50cd0 { background: var(--pf-action, #0563F0); font-size: 12px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-8cd46bbd { font-size: 17px; color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-8e9885f7 { width: 35px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-8edbabea { font-size: 20px; letter-spacing: -0.2px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-91db48c8 { max-height: 380px; overflow-y: auto; padding-right: 4px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-91e424b3 { max-width: 760px; height: 22px; border-radius: 11px; background-color: var(--pf-border, #D4D3D1); overflow: hidden; }
html:not(#pf):not(#pf):not(#pf) .pf-st-92b31b4c { font-size: 15px; color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-93b6cb74 { color: var(--pf-link, #0563F0); font-weight: 900; font-size: 19px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-944ed91d { border-radius: var(--pf-r-md, 12px); background: var(--pf-surface, #FFFFFF); border-left: 5px solid var(--pf-info, #0B6E8E) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-94529f8c { border-radius: var(--pf-r-lg, 16px) !important; overflow: hidden; }
html:not(#pf):not(#pf):not(#pf) .pf-st-961e1be8 { font-size: 12px; background: var(--pf-ok-bg, #E6F4EC); color: var(--pf-ok, #1F7A4D); border: 1px solid #86efac; border-radius: 6px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-9641acb9 { font-size: 12.5px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); border: 1px solid var(--pf-border, #D4D3D1); border-radius: 8px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-965a9db2 { border-radius: var(--pf-r-md, 12px); background: var(--pf-surface, #FFFFFF); }
html:not(#pf):not(#pf):not(#pf) .pf-st-97107286 { min-width: 230px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-97dca32b { font-size: 12px; background: var(--pf-surface-2, #F7F6F4); color: var(--pf-text-muted, #6E6E6C); }
html:not(#pf):not(#pf):not(#pf) .pf-st-97edfc93 { border-radius: var(--pf-r-md, 12px); background: var(--pf-surface, #FFFFFF); border-left: 4px solid var(--pf-info, #0B6E8E) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-987eb2a7 { overflow-x: auto; }
html:not(#pf):not(#pf):not(#pf) .pf-st-991d9a47 { width: 40px; height: 40px; background: var(--pf-warn-bg, #FDF1D8); color: var(--pf-warn, #8A5A00); font-size: 18px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-99ff2f67 { text-align: left; }
html:not(#pf):not(#pf):not(#pf) .pf-st-9a27cea0 { font-size: 12.5px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-9a7148ce { width: 36px; height: 36px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); font-size: 20px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-9bd1ec01 { font-size: 12.5px; border-top-right-radius: 0; border-bottom-right-radius: 0; }
html:not(#pf):not(#pf):not(#pf) .pf-st-9bd65b75 { font-size: 17px; line-height: 1.35; }
html:not(#pf):not(#pf):not(#pf) .pf-st-9c75edbe { color: var(--pf-link, #0563F0); }
html:not(#pf):not(#pf):not(#pf) .pf-st-9f2fdb8d { border-radius: var(--pf-r-md, 12px); background: var(--pf-action, #0563F0); border: none; font-size: 14px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-a1c9b7df { font-size: 13px; color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-a3330d14 { width: 2.4em; height: 1.3em; cursor: pointer; }
html:not(#pf):not(#pf):not(#pf) .pf-st-a428bafc { font-size: 15px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-a4475361 { color: var(--pf-info, #0B6E8E); }
html:not(#pf):not(#pf):not(#pf) .pf-st-a5418807 { font-size: 13px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-a586aef0 { font-size: 20px; color: var(--pf-info, #0B6E8E); }
html:not(#pf):not(#pf):not(#pf) .pf-st-a62c4006 { background: var(--pf-surface, #FFFFFF); border-color: var(--pf-border, #D4D3D1) !important; border-radius: var(--pf-r-md, 12px); }
html:not(#pf):not(#pf):not(#pf) .pf-st-a7b58177 { background-color: var(--pf-surface-2, #F7F6F4); }
html:not(#pf):not(#pf):not(#pf) .pf-st-a8a867f4 { width: 42px; height: 42px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); font-size: 18px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-a8fc004f { border-top: 1px solid var(--pf-border, #D4D3D1) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-a904db0f { background: var(--pf-surface-2, #F7F6F4); border-color: var(--pf-border, #D4D3D1) !important; border-radius: var(--pf-r-md, 12px); }
html:not(#pf):not(#pf):not(#pf) .pf-st-a9763ef2 { font-size: 12px; opacity: 0.85; }
html:not(#pf):not(#pf):not(#pf) .pf-st-ab87f7bf { font-size: 13px; color: var(--pf-link, #0563F0); }
html:not(#pf):not(#pf):not(#pf) .pf-st-abab7495 { border-radius: var(--pf-r-lg, 16px); overflow: hidden; }
html:not(#pf):not(#pf):not(#pf) .pf-st-acb00dca { background: var(--pf-surface, #FFFFFF); border: 1px solid var(--pf-border, #D4D3D1) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-acfab4e5 { transition: all 0.3s ease; }
html:not(#pf):not(#pf):not(#pf) .pf-st-afe4dab2 { font-size: 13.5px; margin: 0; height: 44px; padding: 0 12px; white-space: nowrap; }
html:not(#pf):not(#pf):not(#pf) .pf-st-b0023eb5 { font-size: 12px; background: var(--pf-ok-bg, #E6F4EC); color: var(--pf-info, #0B6E8E) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-b03b696c { background: var(--pf-blue-800, #022A66); color: #ffffff; }
html:not(#pf):not(#pf):not(#pf) .pf-st-b04b7e8c { font-size: 24px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-b1754154 { background: var(--pf-ok-bg, #E6F4EC); border: 1px solid #86efac; border-radius: var(--pf-r-md, 12px); color: var(--pf-ok, #1F7A4D); font-weight: 800; }
html:not(#pf):not(#pf):not(#pf) .pf-st-b238732c { background: #fffbeeb0; border: 1px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-b4219f2b { max-width: 96vw; width: 1440px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-b49f6037 { font-size: 13px; background: var(--pf-surface, #FFFFFF); border-color: var(--pf-border, #D4D3D1) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-b66cd5f3 { font-size: 12px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); border: 1px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-b714dc0e { border: 1px dashed var(--pf-border, #D4D3D1); background: var(--pf-surface-2, #F7F6F4); border-radius: var(--pf-r-lg, 16px) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-b82ea2fe { font-size: 12px; border-radius: 4px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-bdc98d7a { min-height: 250px; font-family: Arial, sans-serif; }
html:not(#pf):not(#pf):not(#pf) .pf-st-bdd869f2 { background: var(--pf-warn-bg, #FDF1D8); color: var(--pf-warn, #8A5A00); font-size: 12px; padding: 5px 12px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-be9953d5 { font-size: 70px; opacity: 0.04; pointer-events: none; }
html:not(#pf):not(#pf):not(#pf) .pf-st-bf6f8696 { width: 15%; transition: width 0.4s ease; font-weight: 700; font-size: 13px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-bf7054c9 { border-radius: 6px; font-size: 13px; background: var(--pf-blue-800, #022A66); color: #ffffff; border: 1px solid #1e293b; }
html:not(#pf):not(#pf):not(#pf) .pf-st-c1d5c90e { height: 200px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-c21d79fa { border-top-right-radius: 10px; border-bottom-right-radius: 10px; font-size: 13.5px; border-color: var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-c26114f6 { max-width: 300px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-c30c8a7f { width: 2.5rem; height: 2.5rem; }
html:not(#pf):not(#pf):not(#pf) .pf-st-c35e6839 { border-color: var(--pf-action, #0563F0) !important; background: var(--pf-surface-2, #F7F6F4); transition: all 0.2s ease; border-radius: var(--pf-r-md, 12px) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-c5fa7b85 { max-height: 320px; overflow: hidden; border-radius: var(--pf-r-md, 12px); }
html:not(#pf):not(#pf):not(#pf) .pf-st-c666e992 { text-align: right; margin-top: 12px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-c7b4f8df { font-size: 22px; line-height: 1.25; }
html:not(#pf):not(#pf):not(#pf) .pf-st-c7e967bb { background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); font-size: 12px; padding: 5px 14px; border: 1px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-c8dc34bd { cursor: grab; }
html:not(#pf):not(#pf):not(#pf) .pf-st-c9775db0 { border-radius: var(--pf-r-lg, 16px) !important; border-color: var(--pf-border, #D4D3D1) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-c9c193a7 { font-size: 15px; color: var(--pf-ok, #1F7A4D) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-c9cfc84c { min-width: 130px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-cbc5a21b { width: 44px; height: 44px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); font-size: 20px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-cc28bd42 { background: var(--pf-ok-bg, #E6F4EC); border-color: var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-cc37ecfc { max-width: 220px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-cce0441f { font-size: 22px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-ccf70710 { background: var(--pf-action-soft, #DAE8FD); border-color: #38bdf8 !important; cursor: pointer; transition: all 0.2s; }
html:not(#pf):not(#pf):not(#pf) .pf-st-cd5c4d8e { font-size: 12px; letter-spacing: 0.5px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-d30a0af3 { background: var(--pf-action, #0563F0); font-size: 14px; box-shadow: var(--pf-shadow-sm, 0 1px 2px rgba(2,25,60,.06)); }
html:not(#pf):not(#pf):not(#pf) .pf-st-d3235390 { border-radius: 4px; font-size: 12px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-d32bd331 { height: 20px; border-radius: var(--pf-r-md, 12px); background-color: var(--pf-border, #D4D3D1); overflow: hidden; max-width: 760px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-d3e61ccd { border-radius: var(--pf-r-md, 12px); background: var(--pf-action, #0563F0); font-size: 14px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-d8ce3860 { font-family: monospace; font-size: 14px; margin-top: 6px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-d90ce48d { border: 1px solid var(--pf-border, #D4D3D1); background: var(--pf-surface-2, #F7F6F4); border-radius: var(--pf-r-lg, 16px); }
html:not(#pf):not(#pf):not(#pf) .pf-st-d9a6a9f5 { min-width: 280px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-daf1a3b2 { color: #8b5cf6; }
html:not(#pf):not(#pf):not(#pf) .pf-st-db5aa396 { font-size: 12px; letter-spacing: 0.5px; color: var(--pf-link, #0563F0); }
html:not(#pf):not(#pf):not(#pf) .pf-st-dbd4491b { background: var(--pf-surface-2, #F7F6F4); border: 1px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-dc98f061 { width: 46px; height: 46px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); font-size: 21px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-dcdefb64 { font-size: 13px; color: var(--pf-text, #1A1A18); cursor: pointer; }
html:not(#pf):not(#pf):not(#pf) .pf-st-de0c5985 { border-radius: var(--pf-r-lg, 16px); overflow: visible; position: relative; }
html:not(#pf):not(#pf):not(#pf) .pf-st-df25847a { width: 68px; height: 68px; background: var(--pf-warn-bg, #FDF1D8); font-size: 28px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-e0e122fd { border-radius: 9px; font-size: 14px; background: var(--pf-action, #0563F0); border: none; padding: 9px 16px; box-shadow: var(--pf-shadow-sm, 0 1px 2px rgba(2,25,60,.06)); transition: all 0.2s ease; }
html:not(#pf):not(#pf):not(#pf) .pf-st-e159467c { font-size: 20px; font-weight: 800; color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-e209b8d9 { background: var(--pf-blue-800, #022A66); border-bottom: 2px solid var(--pf-action, #0563F0) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-e2aa0619 { min-width: 200px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-e35e0437 { font-size: 20px; color: var(--pf-text, #1A1A18); }
html:not(#pf):not(#pf):not(#pf) .pf-st-e3bad3a4 { background: var(--pf-action, #0563F0); }
html:not(#pf):not(#pf):not(#pf) .pf-st-e3c98ae2 { font-size: 12px; background: var(--pf-info-bg, #E3F2F7); color: var(--pf-info, #0B6E8E); }
html:not(#pf):not(#pf):not(#pf) .pf-st-e41405c9 { font-size: 13.5px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-e41f2a73 { background: var(--pf-surface, #FFFFFF); border-color: var(--pf-border, #D4D3D1) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-e488a4c3 { border-top-right-radius: 8px; border-bottom-right-radius: 8px; font-size: 13.5px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-e4eb01ed { border-bottom: 1px solid var(--pf-border, #D4D3D1) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-e50fdb74 { font-size: 12px; background: var(--pf-warn-bg, #FDF1D8); color: var(--pf-warn, #8A5A00); }
html:not(#pf):not(#pf):not(#pf) .pf-st-e6a094fb { width: 42px; height: 42px; background: rgba(59, 130, 246, 0.2); border: 1px solid rgba(59, 130, 246, 0.4); }
html:not(#pf):not(#pf):not(#pf) .pf-st-e6c16f5c { width: 36px; height: 36px; background: var(--pf-action, #0563F0); font-size: 16px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-e6d43c66 { max-height: 280px; overflow-y: auto; }
html:not(#pf):not(#pf):not(#pf) .pf-st-e6ede5f6 { border-radius: var(--pf-r-lg, 16px); overflow: hidden; background: var(--pf-surface, #FFFFFF); }
html:not(#pf):not(#pf):not(#pf) .pf-st-e797ff27 { min-width: 140px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-e81eed65 { font-size: 12px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); border: 1px solid var(--pf-border, #D4D3D1); border-radius: 6px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-e883e281 { font-size: 12px; background: var(--pf-action, #0563F0); border-radius: 6px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-eb7d2f47 { max-width: 480px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-eb9518c1 { height: 44px; font-size: 13.5px; border-color: var(--pf-border, #D4D3D1) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-ececff18 { background: var(--pf-err-bg, #FDE8E6); border: 1px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-ed381792 { font-size: 15px; line-height: 1.4; }
html:not(#pf):not(#pf):not(#pf) .pf-st-ee13d01b { width: 34px; height: 34px; font-size: 16px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-ef74e6ac { background: var(--pf-surface, #FFFFFF); border-color: var(--pf-border, #D4D3D1); cursor: pointer; transition: all 0.2s; }
html:not(#pf):not(#pf):not(#pf) .pf-st-efed2120 { background: var(--pf-surface, #FFFFFF); border-radius: var(--pf-r-lg, 16px); padding: 26px 28px; width: 100%; max-width: 440px; text-align: center; box-shadow: var(--pf-shadow-sm, 0 1px 2px rgba(2,25,60,.06)); }
html:not(#pf):not(#pf):not(#pf) .pf-st-f134e21c { width: 45px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f1e4806c { font-size: 16.5px; color: var(--pf-text, #1A1A18) !important; line-height: 1.35; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f1f24acf { border-radius: 6px; font-size: 13.5px; background: var(--pf-action, #0563F0); border: none; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f293195c { background: var(--pf-action-soft, #DAE8FD); font-size: 13.5px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f2b3622f { border-color: var(--pf-border, #D4D3D1) !important; transition: all 0.2s ease; border-radius: var(--pf-r-md, 12px) !important; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f42eb80e { background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); font-size: 12px; border: 1px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-f4a5c4a9 { border-radius: 8px; font-size: 14px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f4b993a8 { filter: invert(1); opacity: 0.8; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f5b5f6d1 { width: 36px; height: 36px; font-size: 18px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f716694f { width: 20px; height: 20px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); font-size: 12px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f859d55c { font-size: 12px; background: var(--pf-ok-bg, #E6F4EC); color: var(--pf-ok, #1F7A4D); border: 1px solid #86efac; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f85d9973 { border-radius: var(--pf-r-lg, 16px); background: var(--pf-blue-800, #022A66); color: #ffffff; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f9162675 { width: 46px; height: 46px; background: rgba(59, 130, 246, 0.2); border: 1.5px solid var(--pf-action, #0563F0); font-size: 20px; color: #60a5fa; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f92416d5 { width: 2.2rem; height: 2.2rem; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f94d7b66 { color: var(--pf-link, #0563F0); font-weight: 700; }
html:not(#pf):not(#pf):not(#pf) .pf-st-f9ab4366 { border-bottom: 2px solid var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-fa4a9c4e { font-size: 14.5px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-fac96da0 { width: 12px; height: 12px; }
html:not(#pf):not(#pf):not(#pf) .pf-st-fcf2219a { font-size: 13.5px; background: var(--pf-action, #0563F0); }
html:not(#pf):not(#pf):not(#pf) .pf-st-fe8d513a { flex-basis: 320px; border-color: var(--pf-border, #D4D3D1); }
html:not(#pf):not(#pf):not(#pf) .pf-st-fffd7087 { cursor: pointer; font-size: 13.5px; }

/* sidebar dell'area discente (e docenti/tutor): più stretta, 240 px al posto di 280 (il contenuto occupa lo spazio liberato) */
@media (min-width: 992px) {
  html:not(#pf) nav.sidebar:not(#sidebar) {
    flex: 0 0 240px !important;
    width: 240px !important;
  }
  /* il contenuto prende tutto lo spazio rimasto (il tema lo calcolava come 100% - 280/345 px) */
  html:not(#pf) .dashboard_main_wrapper > .dashboard_part {
    flex: 1 1 0 !important;
    min-width: 0;
    width: auto !important;
  }
}

/* topbar dell'area discente: via il rettangolo grigio, controlli tutti alti 40 px e allineati */
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) > ul {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  list-style: none;
}
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) > ul > li {
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  position: relative;
}
/* campanella e preferiti: pulsanti tondi */
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) > ul > li > a:first-of-type,
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) .notification_open > a.notify_icon {
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  background: var(--pf-surface, #FFFFFF) !important;
  border: 1.5px solid var(--pf-border, #D4D3D1) !important;
  border-radius: 50% !important;
}
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) > ul > li > a:first-of-type:hover { border-color: var(--pf-action, #0563F0) !important; }
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) .notify_icon img { width: 20px; height: 20px; }
/* aggiorna, lingua e tema: stessa altezza, stesso bordo */
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) #pfReloadBtnStd,
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) .pf-lang > summary,
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) .pf-theme-btn {
  height: 40px !important;
  min-height: 40px !important;
  border: 1.5px solid var(--pf-border, #D4D3D1) !important;
  border-radius: var(--pf-r-md, 12px) !important;
  box-shadow: none !important;
}
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) .pf-theme-btn { width: 40px !important; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; }
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) .pf-lang > summary { display: inline-flex !important; align-items: center; gap: 6px; padding: 0 10px !important; width: auto !important; }
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) #pfReloadBtnStd { padding: 0 14px 0 6px !important; }
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) #pfReloadBtnStd:hover,
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) .pf-lang > summary:hover,
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) .pf-theme-btn:hover { border-color: var(--pf-action, #0563F0) !important; }
/* le icone di campanella e preferiti sono bianche: scure sullo sfondo chiaro della topbar */
html:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) .notify_icon img { filter: brightness(0) opacity(.72); }
html.dark:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) .notify_icon img,
html[data-pf-theme="dark"]:not(#pf) #main-nav-for-chat:has(#pfReloadBtnStd) .notify_icon img { filter: none; }

/* logo PromoBrain: trasparente (niente targa) e piccolo, in proporzione al logo PromoFAD. Sugli sfondi scuri si usa la versione chiara. */
.pf-brain { background: transparent; border: 0; box-shadow: none; padding: 0; box-sizing: border-box; }
.pf-brain img { display: block; width: 100%; height: auto; }
.pf-brain-side { margin: 14px auto 18px; max-width: 118px; opacity: .95; }
.pf-brain-li { list-style: none; padding: 0; margin: 0; }
.pf-brain-top { margin: 0 8px; flex: none; }
.pf-brain-top img { width: auto; height: 30px; }
.pf-brain-login { margin: 14px auto 4px; max-width: 150px; }
/* logo PromoBrain in fondo al menu: più vicino all'ultima voce; con il menu compresso resta, più piccolo, dentro i 60 px */
html:not(#pf) #sidebar .pf-brain-side { margin: 0 auto 14px !important; max-width: none; padding: 0 14px; }
html:not(#pf) #sidebar #sidebar_menu { margin-bottom: 0 !important; padding-bottom: 0 !important; }
html:not(#pf) #sidebar.mini_sidebar .pf-brain-side { display: block; max-width: 48px; margin: 8px auto 14px !important; }
.pf-brain-mini { display: none; }
html:not(#pf) #sidebar.mini_sidebar .pf-brain-side > img, html:not(#pf) #sidebar.mini_sidebar .pf-brain-side > a > img { display: none; }
html:not(#pf) #sidebar.mini_sidebar .pf-brain-mini { display: flex; flex-direction: column; align-items: center; gap: 2px; }
html:not(#pf) #sidebar.mini_sidebar .pf-brain-mini img { width: 34px; height: 34px; object-fit: contain; }
html:not(#pf) #sidebar.mini_sidebar .pf-brain-mini b { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; color: #FFFFFF; line-height: 1; }
@media (max-width: 575.98px) { .pf-brain-top { display: none; } }

/* portale aziende e funzionari, tema scuro: i colori di stato (--pf-ok, --pf-err…) nel tema scuro sono chiari, quindi usarli
   come sfondo con un testo chiaro li rendeva illeggibili. Sfondi scuri semitrasparenti e testo chiaro, come negli altri pannelli. */
html:not(#pf)[data-theme="dark"] .pill { border: 1px solid transparent; }
html:not(#pf)[data-theme="dark"] .pill.c { background: rgba(31, 122, 77, .32); color: #86EFAC; border-color: rgba(134, 239, 172, .35); }
html:not(#pf)[data-theme="dark"] .pill.i { background: rgba(214, 158, 46, .26); color: #FCD34D; border-color: rgba(252, 211, 77, .35); }
html:not(#pf)[data-theme="dark"] .pill.n { background: rgba(255, 255, 255, .10); color: #E2E8F0; border-color: rgba(255, 255, 255, .22); }
html:not(#pf)[data-theme="dark"] .pill.on { background: rgba(5, 99, 240, .30); color: #BFDBFE; border-color: rgba(191, 219, 254, .35); }
html:not(#pf)[data-theme="dark"] .pill.off { background: rgba(180, 35, 24, .34); color: #FECACA; border-color: rgba(254, 202, 202, .35); }
html:not(#pf)[data-theme="dark"] .pill.p { background: rgba(139, 92, 246, .30); color: #DDD6FE; border-color: rgba(221, 214, 254, .35); }
html:not(#pf)[data-theme="dark"] .ic.b, html:not(#pf)[data-theme="dark"] .kpi .ic.b { background: rgba(11, 110, 142, .38); color: #67E8F9; }
html:not(#pf)[data-theme="dark"] .ic.g { background: rgba(31, 122, 77, .38); color: #86EFAC; }
html:not(#pf)[data-theme="dark"] .ic.y { background: rgba(214, 158, 46, .30); color: #FCD34D; }
html:not(#pf)[data-theme="dark"] .ic.s { background: rgba(255, 255, 255, .10); color: #CBD5E1; }
html:not(#pf)[data-theme="dark"] .ic.p { background: rgba(139, 92, 246, .32); color: #DDD6FE; }
html:not(#pf)[data-theme="dark"] .ic.r { background: rgba(180, 35, 24, .38); color: #FECACA; }
html:not(#pf)[data-theme="dark"] .rc { background: rgba(5, 99, 240, .28); color: #BFDBFE; }
html:not(#pf)[data-theme="dark"] .rc.cor { background: rgba(11, 110, 142, .38); color: #67E8F9; border-color: rgba(103, 232, 249, .4); }
/* tasto Esci: rosso pieno con testo bianco, in entrambi i temi */
html:not(#pf) header.bar .tbtn.out, html:not(#pf) header.top .tbtn.out { background: #B42318; border-color: #B42318; color: #FFFFFF; }
html:not(#pf) header.bar .tbtn.out:hover, html:not(#pf) header.top .tbtn.out:hover { background: #912018; border-color: #912018; color: #FFFFFF; }
html:not(#pf)[data-theme="dark"] header.bar .tbtn.out, html:not(#pf)[data-theme="dark"] header.top .tbtn.out { background: #B42318; border-color: #F87171; color: #FFFFFF; }
/* portale aziende e funzionari, tema chiaro: testo blu più scuro nelle etichette piccole (4,18:1 → 7,9:1) */
html:not(#pf):not([data-theme="dark"]) .pill.on,
html:not(#pf):not([data-theme="dark"]) .pill.p,
html:not(#pf):not([data-theme="dark"]) .rc:not(.cor),
html:not(#pf):not([data-theme="dark"]) .kpi .ic.p { color: #044AB4; }

/* sidebar del portale aziende, tema chiaro: il menu (sfondo petrolio) prendeva il blu dei link e non si leggeva.
   Testo chiaro su tutte le voci, la voce attiva ha un riquadro più chiaro e testo bianco. */
html:not(#pf):not([data-theme="dark"]) .side .snav a { color: #EAF7FB; }
html:not(#pf):not([data-theme="dark"]) .side .snav a i, html:not(#pf):not([data-theme="dark"]) .side .snav a svg { color: inherit; }
html:not(#pf):not([data-theme="dark"]) .side .snav a:hover { color: #FFFFFF; background: rgba(2, 25, 60, .26); }
html:not(#pf):not([data-theme="dark"]) .side .snav a.on { color: #FFFFFF; background: rgba(2, 25, 60, .42); border-left-color: #FFFFFF; }
html:not(#pf):not([data-theme="dark"]) .side .bn { opacity: .9; color: #EAF7FB; }
html:not(#pf):not([data-theme="dark"]) .side .sfoot { opacity: .9; color: #EAF7FB; }

/* scheda del corso nella dashboard del discente: l'etichetta "Corso Online FAD" andava a capo lettera per lettera (in verticale) */
.student-course-card .course-card-thumb > span { max-width: 100%; flex: 0 0 auto; }
.student-course-card .course-type-pill, .student-course-card .course-status-pill { white-space: nowrap !important; word-break: normal !important; overflow-wrap: normal !important; writing-mode: horizontal-tb !important; width: auto !important; }

/* pagina "La Mia Formazione" del discente */
.pf-page-formazione { padding: 28px 28px 80px; background: var(--pf-action-soft, #DAE8FD); min-height: calc(100vh - 80px); }
.pf-page-head { margin-bottom: 18px; }
.pf-page-head h1 { margin: 0 0 4px; font-size: 1.5rem; font-weight: 700; color: var(--pf-heading, #02193C); }
.pf-page-head h1 i { color: var(--pf-link, #044AB4); margin-right: 8px; }
.pf-page-head p { margin: 0; color: var(--pf-text-muted, #575653); }
html.dark .pf-page-formazione, html[data-pf-theme="dark"] .pf-page-formazione { background: transparent; }
html.dark .pf-page-head h1, html[data-pf-theme="dark"] .pf-page-head h1 { color: #F0EEE9; }
@media (max-width: 767.98px) { .pf-page-formazione { padding: 18px 14px 80px; } }

/* tendina delle notifiche nella barra in alto: a tablet e telefono non deve sporgere dallo schermo (a 768 px sforava di 7 px) */
@media (max-width: 991.98px) {
  html:not(#pf) .Menu_NOtification_Wrap { left: auto !important; right: 0 !important; max-width: calc(100vw - 16px); transform: translate(0, 30px) !important; }
  /* anello animato attorno alla campanella: solo decorazione, a tablet usciva dal bordo */
  html:not(#pf) .pulse-ring.notification_count_pulse { display: none !important; }
}

/* menu laterale dell'amministrazione compresso: solo il riquadro "fad", solo l'avatar, icone centrate */
html:not(#pf) #sidebar.mini_sidebar .sidebar-header { padding: 16px 0 10px !important; display: flex; justify-content: center; }
html:not(#pf) #sidebar.mini_sidebar .mini_logo { display: block !important; margin: 0 auto; }
html:not(#pf) #sidebar.mini_sidebar .mini_logo img { width: 36px !important; height: auto !important; max-width: 36px !important; display: block; margin: 0 auto; }
html:not(#pf) #sidebar.mini_sidebar .sidebar-user { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 8px 0 10px !important; margin: 0 !important; }
html:not(#pf) #sidebar.mini_sidebar .sidebar-user h4,
html:not(#pf) #sidebar.mini_sidebar .sidebar-user .sb-role,
html:not(#pf) #sidebar.mini_sidebar .sidebar-user p,
html:not(#pf) #sidebar.mini_sidebar .sidebar-user .sidebar-badge { display: none !important; }
html:not(#pf) #sidebar.mini_sidebar .sidebar-profile { --width: 38px; margin: 0 auto !important; }
html:not(#pf) #sidebar.mini_sidebar #sidebar_menu > li > a { justify-content: center; padding-left: 0 !important; padding-right: 0 !important; }
/* logo bianco del menu aperto: dimensione in proporzione, non troppo grande */
html:not(#pf) #sidebar:not(.mini_sidebar) .large_logo img { max-width: 150px; height: auto; }

/* menu laterale compresso: ogni voce con sotto-voci mostra un pannello a comparsa leggibile (al passaggio del mouse o al clic);
   le voci semplici mostrano il loro nome in un'etichetta. Prima il pannello compariva solo al clic, grigio quasi trasparente e illeggibile. */
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li > a,
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li:hover > a { width: auto !important; }
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li > a .nav_title,
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li > a.has-arrow::after { display: none !important; }
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li:hover > a,
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li.pf-fly > a { background: rgba(255, 255, 255, .12) !important; border-radius: 12px; }
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li > ul {
  display: none !important; position: fixed !important; left: 60px; width: 290px !important; height: auto !important; max-height: calc(100vh - 16px); overflow-y: auto;
  margin: 0 !important; padding: 8px !important; opacity: 1 !important; transform: none !important; z-index: 1300;
  background: var(--pf-blue-800, #022A66) !important; border: 1px solid rgba(255, 255, 255, .22) !important; border-left: 0 !important;
  border-radius: 0 14px 14px 0 !important; box-shadow: 14px 14px 36px rgba(0, 0, 0, .38) !important;
}
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li:hover > ul,
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li.pf-fly > ul { display: block !important; }
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li > ul > li { list-style: none; margin: 0; }
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li > ul > li > a {
  display: flex !important; align-items: center; gap: 10px; width: auto !important; height: auto !important; min-height: 40px; padding: 8px 12px !important;
  border-radius: 10px; color: #E7EEF9 !important; background: transparent !important; white-space: normal !important; line-height: 1.35; font-size: .875rem;
}
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li > ul > li > a:hover { background: rgba(255, 255, 255, .14) !important; color: #FFFFFF !important; }
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li > ul > li.mm-active > a,
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li > ul > li > a.active { background: rgba(255, 255, 255, .2) !important; color: #FFFFFF !important; font-weight: 600; }
.pf-fly-title { display: none; list-style: none; padding: 6px 12px 8px; margin-bottom: 6px; font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #AFCEFD; border-bottom: 1px solid rgba(255, 255, 255, .2); }
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li > ul > .pf-fly-title { display: block; }
#pfFlyTip { position: fixed; z-index: 1400; display: none; padding: 6px 12px; border-radius: 8px; background: #02193C; color: #FFFFFF; font-size: .8125rem; font-weight: 600; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); pointer-events: none; white-space: nowrap; }
/* pulsante che comprime il menu: con il menu compresso cambia icona e si evidenzia, così si capisce lo stato */
.open_miniSide { cursor: pointer; }
.open_miniSide:focus-visible { outline: 3px solid var(--pf-action, #0563F0); outline-offset: 2px; border-radius: 8px; }
.open_miniSide.pf-mini-on i { color: var(--pf-action, #0563F0); }
/* menu compresso: il menu resta fisso a tutta altezza anche scorrendo la pagina (prima il blu finiva dopo la prima schermata); le sotto-voci a comparsa sono già 'fixed' e non vengono tagliate */
html:not(#pf) #sidebar.sidebar.mini_sidebar { position: fixed !important; top: 0 !important; bottom: 0 !important; left: 0; height: 100vh !important; height: 100dvh !important; overflow-x: visible !important; overflow-y: auto !important; scrollbar-width: none; }
html:not(#pf) #sidebar.sidebar.mini_sidebar::-webkit-scrollbar { display: none; }
/* menu compresso (60 px, fisso): il contenuto parte a destra del menu e non sotto di esso */
@media (min-width: 992px) {
  html:not(#pf) #main-content.mini_main_content { margin-left: 60px !important; width: calc(100% - 60px) !important; }
}

/* menu compresso: il pannello della sezione su cui si passa sta sopra agli altri */
html:not(#pf) nav#sidebar.mini_sidebar #sidebar_menu > li:hover > ul { z-index: 1320; }
/* topbar: il pulsante "Contenuti AI" come gli altri pulsanti con icona (niente sfondo blu pieno) */
html:not(#pf) .header_iner li.ai_text_generator > a#show_ai_text_generator,
html:not(#pf) .header_iner li.ai_text_generator > a.rev-primary-btn {
  background: transparent !important; background-image: none !important; box-shadow: none !important;
  color: var(--pf-text-muted, #6E6E6C) !important; border: 1px solid transparent !important; border-radius: 8px !important;
  width: 40px; height: 40px; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center;
}
html:not(#pf) .header_iner li.ai_text_generator > a#show_ai_text_generator:hover,
html:not(#pf) .header_iner li.ai_text_generator > a#show_ai_text_generator:focus-visible {
  background: var(--pf-surface-2, #F7F6F4) !important; color: var(--pf-action, #0563F0) !important; border-color: var(--pf-border, #D4D3D1) !important;
}
html:not(#pf) .header_iner li.ai_text_generator > a#show_ai_text_generator :is(svg, i, path) { color: inherit !important; fill: currentColor; stroke: currentColor; }
html.dark:not(#pf) .header_iner li.ai_text_generator > a#show_ai_text_generator { color: #A8A8A6 !important; }
html.dark:not(#pf) .header_iner li.ai_text_generator > a#show_ai_text_generator:hover { background: rgba(255, 255, 255, .08) !important; color: #AFCEFD !important; border-color: rgba(255, 255, 255, .16) !important; }
/* sito pubblico: il menu in alto (Home, Courses, Classes...) stava impilato in verticale e allungava la barra; ora è su una riga */
html:not(#pf) ul.heading-nav { display: flex !important; flex-wrap: nowrap; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
html:not(#pf) ul.heading-nav > li.heading-list { display: block; position: relative; margin: 0; padding: 0; list-style: none; }
html:not(#pf) ul.heading-nav > li.heading-list > a.heading-links { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; white-space: nowrap; }
html:not(#pf) ul.heading-nav > li.heading-list:first-child > a, html:not(#pf) ul.heading-nav > li.heading-list:last-child > a { padding-left: 14px; padding-right: 14px; }
/* player del corso: i titoli dei capitoli (pannello a destra) erano bianchi su fondo chiaro perché il colore di sfondo non arrivava in questa pagina */
html:not(#pf) .course__play_list .accordion-item .accordion-button,
html:not(#pf) .course__play_list .accordion-item .accordion-button.collapsed {
  background: var(--pf-action, #0563F0) !important; color: #FFFFFF !important; border-radius: 10px;
}
html:not(#pf) .course__play_list .accordion-item .accordion-button:hover { background: var(--pf-action-hover, #044AB4) !important; }
html:not(#pf) .course__play_list .accordion-item .accordion-button .course_length { color: #DAE8FD !important; }
/* testo minimo 12 px: percentuale di avanzamento nella barra del player */
html:not(#pf) .headerSubProcess { font-size: 12px !important; }
/* player del corso su telefono: i comandi della barra vanno a capo invece di sovrapporsi */
@media (max-width: 575.98px) {
  html:not(#pf) .header__right .contact_wrap,
  html:not(#pf) .header__right .contact_btn { flex-wrap: wrap !important; row-gap: 8px; column-gap: 8px; height: auto !important; }
  html:not(#pf) .header__right .contact_btn > * { margin-right: 0 !important; }
}

/* ===== Sito pubblico: avatar e nome/ruolo in alto, barra del corso unica (RecID, COR, docente, dati) ===== */
html:not(#pf) .studentProfileThumb.pf-avatar { display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background-color: var(--pf-action-soft, #DAE8FD); background-size: cover; background-position: center; color: var(--pf-blue-800, #022A66); font-weight: 800; font-size: 16px; letter-spacing: .5px; flex: none; border: 2px solid var(--pf-surface, #fff); box-shadow: 0 0 0 1.5px var(--pf-action, #0563F0); }
html:not(#pf) .profile_img .pf-who { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; margin-left: 10px; text-align: left; }
html:not(#pf) .profile_img .pf-who-name { font-size: 15px; font-weight: 800; color: var(--pf-text, #1A1A18); }
html:not(#pf) .profile_img .pf-who-role { margin-top: 2px; font-size: 12px; font-weight: 700; letter-spacing: .3px; color: var(--pf-link, #0563F0); text-transform: uppercase; }
html:not(#pf) .course__details_head .pf-hero-bar { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 !important; margin: 18px 0 0; padding: 0; list-style: none; width: fit-content; max-width: 100%; border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; overflow: hidden; background: #fff; }
html:not(#pf) .course__details_head .pf-hero-bar .meta_item { display: flex; align-items: center; gap: 8px; margin: 0 !important; min-height: 48px; padding: 0 16px !important; border: 0 !important; border-radius: 0 !important; border-right: 1px solid var(--pf-border, #D4D3D1) !important; background: #fff !important; box-shadow: none !important; color: var(--pf-text, #1A1A18) !important; font-size: 14px; }
html:not(#pf) .course__details_head .pf-hero-bar .meta_item:last-child { border-right: 0 !important; }
html:not(#pf) .course__details_head .pf-hero-bar .meta_item span, html:not(#pf) .course__details_head .pf-hero-bar .meta_item p { color: var(--pf-text, #1A1A18) !important; margin: 0; font-size: 14px; }
html:not(#pf) .course__details_head .pf-hero-bar .meta_item.pf-id { background: var(--pf-action-soft, #DAE8FD) !important; }
html:not(#pf) .course__details_head .pf-hero-bar .meta_item.pf-id span { color: var(--pf-blue-800, #022A66) !important; font-weight: 600; }
html:not(#pf) .course__details_head .pf-hero-bar .meta_item.pf-id b { font-weight: 800; }
html:not(#pf) .course__details_head .pf-hero-bar .meta_item.highlight { background: #fff !important; }
html:not(#pf) .course__details_head .pf-hero-bar .meta_item img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
@media (max-width: 575px) { html:not(#pf) .course__details_head .pf-hero-bar { width: 100%; } html:not(#pf) .course__details_head .pf-hero-bar .meta_item { flex: 1 1 50%; border-bottom: 1px solid var(--pf-border, #D4D3D1) !important; } }

/* Pulsante "Vai al corso" (pagina del corso) */
html:not(#pf) a.pf-go-course { display: flex !important; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 24px; border-radius: 12px; border: 1.5px solid var(--pf-action, #0563F0); background: var(--pf-action, #0563F0); color: #fff !important; font-size: 16px; font-weight: 800; letter-spacing: .2px; text-align: center; text-decoration: none !important; box-shadow: 0 6px 16px rgba(5, 99, 240, .25); transition: background .15s, transform .15s, box-shadow .15s; }
html:not(#pf) a.pf-go-course i { font-size: 18px; line-height: 1; }
html:not(#pf) a.pf-go-course span { line-height: 1.2; text-align: center; }
html:not(#pf) a.pf-go-course:hover, html:not(#pf) a.pf-go-course:focus-visible { background: var(--pf-blue-600, #044AB4); border-color: var(--pf-blue-600, #044AB4); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(5, 99, 240, .3); }
html:not(#pf) a.pf-go-course:focus-visible { outline: 3px solid var(--pf-blue-200, #AFCEFD); outline-offset: 2px; }

/* Pagina del corso: programma (capitoli leggibili), "Discenti che hanno visto altri corsi" con occhio e scheda */
html:not(#pf) .theme_according .accordion-item .accordion-header .btn.btn-link { background: var(--pf-blue-800, #022A66) !important; color: #fff !important; border: 0 !important; border-radius: 10px !important; opacity: 1 !important; text-decoration: none !important; font-weight: 800; }
html:not(#pf) .theme_according .accordion-item .accordion-header .btn.btn-link * { color: #fff !important; opacity: 1 !important; }
html:not(#pf) .theme_according .accordion-item .accordion-header .btn.btn-link:hover { background: var(--pf-blue-600, #044AB4) !important; }
html:not(#pf) .theme_according .accordion-item { background: transparent !important; border: 0 !important; box-shadow: none !important; margin-bottom: 10px; }
html:not(#pf) .students_also_bought .pf-eye { display: flex; align-items: center; justify-content: center; border: 0; border-left: 1px solid var(--pf-border, #D4D3D1); background: transparent; color: var(--pf-action, #0563F0); font-size: 20px; cursor: pointer; min-height: 48px; transition: background .15s, color .15s; }
html:not(#pf) .students_also_bought .pf-eye:hover, html:not(#pf) .students_also_bought .pf-eye:focus-visible { background: var(--pf-action, #0563F0); color: #fff; }
.pf-cc-overlay { position: fixed; inset: 0; z-index: 2147483000; background: rgba(15, 23, 42, .6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pf-cc-overlay[hidden] { display: none; }
.pf-cc-box { position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--pf-surface, #fff); border-radius: 16px; box-shadow: 0 24px 60px rgba(2, 25, 60, .4); }
.pf-cc-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(2, 25, 60, .75); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.pf-cc-img { display: block; width: 100%; max-height: 260px; object-fit: cover; background: var(--pf-surface-2, #F7F6F4); }
.pf-cc-body { padding: 20px 24px 24px; }
.pf-cc-body h3 { font-size: 20px; font-weight: 800; color: var(--pf-blue-800, #022A66); margin: 0 0 12px; }
.pf-cc-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 14px; }
.pf-cc-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--pf-surface-2, #F7F6F4); border: 1px solid var(--pf-border, #D4D3D1); color: var(--pf-text, #1A1A18); }
.pf-cc-tag.id { background: var(--pf-action-soft, #DAE8FD); border-color: #AFCEFD; color: #022A66; }
.pf-cc-about { font-size: 15px; line-height: 1.6; color: var(--pf-text, #1A1A18); margin: 0 0 18px; }

/* Programma del corso: i capitoli sono il bottone Bootstrap .accordion-button */
html:not(#pf) .theme_according .accordion-item .accordion-header .accordion-button { background: var(--pf-blue-800, #022A66) !important; color: #fff !important; border: 0 !important; border-radius: 10px !important; box-shadow: none !important; font-weight: 800; padding: 16px 20px; }
html:not(#pf) .theme_according .accordion-item .accordion-header .accordion-button * { color: #fff !important; }
html:not(#pf) .theme_according .accordion-item .accordion-header .accordion-button:hover { background: var(--pf-blue-600, #044AB4) !important; }
.pf-cc-img { max-height: none !important; height: auto; object-fit: contain; }
/* Piè di pagina: testi e collegamenti in bianco / grigio chiaro (niente blu sul blu) */
html:not(#pf) .pf-footer a { color: #E5E7EB !important; }
html:not(#pf) .pf-footer a:hover, html:not(#pf) .pf-footer a:focus-visible { color: #FFFFFF !important; text-decoration: underline !important; }
html:not(#pf) .pf-footer .pf-ft-list li a i { color: #D4D3D1 !important; }
html:not(#pf) .pf-footer .pf-ft-desc, html:not(#pf) .pf-footer .pf-ft-bottom, html:not(#pf) .pf-footer .pf-ft-contact, html:not(#pf) .pf-footer .pf-ft-contact li { color: #D4D3D1 !important; }
html:not(#pf) .pf-footer .pf-ft-desc strong { color: #FFFFFF; }
html:not(#pf) .pf-footer .pf-ft-contact .ic { color: #FFFFFF !important; background: rgba(255, 255, 255, .12) !important; border-color: rgba(255, 255, 255, .28) !important; }
html:not(#pf) .pf-footer .pf-ft-social a { color: #FFFFFF !important; }
html:not(#pf) .pf-o-ids { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; }
html:not(#pf) .pf-o-id { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 600; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-blue-800, #022A66); }
html:not(#pf) .pf-o-id b { margin-left: 4px; font-weight: 800; }

/* ===== Telefono: tabelle dei dati (gestionale) =====
   Le tabelle larghe scorrono nel loro riquadro; le parole non si spezzano più lettera per lettera (prima "overflow-wrap: anywhere"
   le riduceva a colonne strettissime). Ogni cella ha una larghezza minima, i badge restano su una riga. */
@media (max-width: 767.98px) {
  html:not(#pf) .QA_table table.table :is(th, td), html:not(#pf) table.dataTable :is(th, td) { white-space: normal; overflow-wrap: normal; word-break: normal; hyphens: none; min-width: 92px; }
  html:not(#pf) .QA_table table.table :is(th, td, .badge), html:not(#pf) table.dataTable .badge { overflow-wrap: normal; word-break: normal; }
  html:not(#pf) .QA_table table.table .badge, html:not(#pf) table.dataTable .badge, html:not(#pf) table.dataTable .pf-corsi-btn { white-space: nowrap !important; }
  html:not(#pf) table.dataTable thead th { white-space: nowrap; }
  html:not(#pf) table.dataTable td:first-child, html:not(#pf) table.dataTable th:first-child { min-width: 0; }
  html:not(#pf) table.dataTable td.dtr-control, html:not(#pf) table.dataTable td.control { min-width: 38px; }
  html:not(#pf) .dataTables_wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  html:not(#pf) .dataTables_wrapper .dataTables_length, html:not(#pf) .dataTables_wrapper .dataTables_filter { float: none; text-align: left; margin-bottom: 8px; }
  html:not(#pf) .dataTables_wrapper .dt-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
}

/* Telefono: le tabelle "responsive" nascondevano quasi tutte le colonne dietro un "+" (restava la sola colonna Azione).
   Qui tutte le colonne restano visibili e la tabella scorre di lato nel suo riquadro. */
@media (max-width: 767.98px) {
  html:not(#pf) table.dataTable.dtr-inline.collapsed :is(td, th), html:not(#pf) table.dataTable :is(td, th).dtr-hidden { display: table-cell !important; /* !important: il plugin nasconde le colonne con uno stile in linea */ }
  html:not(#pf) table.dataTable.dtr-inline.collapsed > tbody > tr > :is(td, th).dtr-control::before,
  html:not(#pf) table.dataTable.dtr-inline.collapsed > tbody > tr > :is(td, th).control::before { display: none !important; }
  html:not(#pf) table.dataTable.dtr-inline.collapsed > tbody > tr > :is(td, th).dtr-control { padding-left: 10px !important; cursor: default; }
  html:not(#pf) table.dataTable > tbody > tr.child { display: none !important; }
  html:not(#pf) table.dataTable { width: max-content !important; min-width: 100%; max-width: none; }
}
@media (max-width: 767.98px) {
  html:not(#pf) table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child::before, html:not(#pf) table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child::before { display: none !important; }
  html:not(#pf) table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child { padding-left: 12px !important; }
}

/* Telefono: contatori delle notifiche su una riga; tabelle semplici (non DataTables) senza parole spezzate, scorrono nel riquadro */
@media (max-width: 767.98px) {
  html:not(#pf) #main-nav-for-chat .notification_count { white-space: nowrap !important; width: auto !important; min-width: 20px; padding: 0 5px; }
  html:not(#pf) #main-content .table-responsive { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  html:not(#pf) #main-content .table-responsive table :is(th, td) { overflow-wrap: normal; word-break: normal; hyphens: none; }
  html:not(#pf) #main-content .table-responsive table th { white-space: nowrap; }
  html:not(#pf) #main-content .table-responsive table td { min-width: 92px; }
  html:not(#pf) #main-content .table-responsive table { width: max-content; min-width: 100%; }
}
@media (max-width: 767.98px) {
  /* messaggio "nessun elemento": occupa la larghezza visibile, non quella dell'intera tabella */
  html:not(#pf) #main-content .table-responsive table td[colspan], html:not(#pf) table.dataTable td.dataTables_empty { min-width: 0; width: calc(100vw - 110px); max-width: calc(100vw - 110px); position: sticky; left: 0; white-space: normal; }
}

/* Tabelle larghe (anche su desktop con zoom o schermo piccolo): il riquadro con il bordo cresce insieme alla tabella e scorre con lei,
   così la tabella non esce più dal box quando si usa la barra di scorrimento orizzontale */
html:not(#pf) .table-responsive .dataTables_wrapper, html:not(#pf) .QA_table .dataTables_wrapper { width: auto; min-width: 100%; box-sizing: border-box; }

/* Corsi & Lezioni (Corso/Quiz elenco, Corsi assemblati PromoGEST, Classi virtuali, Corsi in presenza): barra di scorrimento orizzontale sempre disponibile.
   Il riquadro con il bordo (wrapper) e la tabella hanno la stessa larghezza minima, quindi la riga si vede tutta scorrendo di lato,
   e il contenitore ha un'altezza massima così la barra orizzontale resta in vista senza dover scendere a fine pagina. */
@media (min-width: 768px) {
  html:not(#pf) :is(.table-responsive, .QA_table > div):has(#lms_table, #promogest_courses_table, #promofad_live_table, #in_person_table) { overflow: auto !important; max-height: calc(100vh - 160px); }
  html:not(#pf) :is(.table-responsive, .QA_table > div):has(#lms_table, #promogest_courses_table) .dataTables_wrapper { min-width: 1600px; }
  html:not(#pf) #lms_table, html:not(#pf) #promogest_courses_table { min-width: 1560px; }
  html:not(#pf) #promogest_courses_table { width: auto !important; }
  html:not(#pf) :is(.table-responsive, .QA_table > div) .dataTables_wrapper:has(> #promogest_courses_table) { min-width: 2200px; overflow: visible !important; }
  html:not(#pf) :is(.table-responsive, .QA_table > div):has(#promofad_live_table, #in_person_table) { overflow-x: auto !important; }
  html:not(#pf) #promofad_live_table, html:not(#pf) #in_person_table { min-width: 1100px; }
  html:not(#pf) :is(#lms_table, #promogest_courses_table, #promofad_live_table, #in_person_table) thead th { position: sticky; top: 0; z-index: 3; background: var(--pf-surface-2, #F7F6F4); }
}

/* Barra in alto del discente: lente della ricerca dentro il campo e pallino delle notifiche giallo lampeggiante */
html:not(#pf) .dashboard_part .theme_search_field { display: flex !important; align-items: center; flex-wrap: nowrap; }
html:not(#pf) .dashboard_part .theme_search_field .input-group-prepend { position: static !important; transform: none !important; margin: 0 !important; align-self: stretch; display: flex; align-items: center; flex: none; }
html:not(#pf) .dashboard_part .theme_search_field .input-group-prepend .btn { display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 100%; padding: 0 !important; margin: 0; line-height: 1; }
html:not(#pf) .dashboard_part .theme_search_field .input-group-prepend .btn i { display: block !important; width: auto !important; height: auto !important; font-size: 17px; line-height: 1; margin: 0; }
html:not(#pf) .dashboard_part .theme_search_field input.form-control { flex: 1 1 auto; width: 100%; min-width: 0; padding-left: 0 !important; text-align: left; }
@keyframes pfNotifyBlink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245, 158, 11, .6); } 50% { opacity: .35; box-shadow: 0 0 0 7px rgba(245, 158, 11, 0); } }
html:not(#pf) .dashboard_part .notification_wrapper .notify_count { position: absolute; top: 3px; right: 3px; width: 11px; height: 11px; min-width: 11px; padding: 0; border-radius: 50%; background: #F59E0B !important; border: 2px solid var(--pf-surface, #fff); animation: pfNotifyBlink 1.1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { html:not(#pf) .dashboard_part .notification_wrapper .notify_count { animation: none; } }

/* ==========================================================================
   Notifiche del discente: tendina ordinata, contatore verde lampeggiante sulla campanella
   ========================================================================== */
@keyframes pfNotifyGreen { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(21, 128, 61, .55); } 50% { opacity: .7; box-shadow: 0 0 0 8px rgba(21, 128, 61, 0); } }
@keyframes pfBellRing { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-6deg); } 75% { transform: rotate(3deg); } }
html:not(#pf) .notification_wrapper .notification_open > a { position: relative; }
html:not(#pf) .notification_wrapper .notification_open .notify_count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; width: auto; padding: 0 6px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #15803D !important; color: #fff !important; font-size: 11px; font-weight: 800; line-height: 1; border: 2px solid var(--pf-surface, #fff); animation: pfNotifyGreen 1.2s ease-in-out infinite; }
html:not(#pf) .notification_wrapper .notification_open .notify_count.d-none { display: none; }
html:not(#pf) .notification_wrapper .notification_open.nf-ring .notify_icon img { animation: pfBellRing 1s ease-in-out 2; transform-origin: 50% 0; }
@media (prefers-reduced-motion: reduce) { html:not(#pf) .notification_wrapper .notification_open .notify_count, html:not(#pf) .notification_wrapper .notification_open.nf-ring .notify_icon img { animation: none; } }

html:not(#pf) .notification_wrapper .notification_area { width: 380px; max-width: calc(100vw - 24px); padding: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--pf-border, #D4D3D1); background: var(--pf-surface, #fff); box-shadow: var(--pf-shadow-lg, 0 12px 32px rgba(2,25,60,.18)); }
html:not(#pf) .notification_wrapper .notification_area::after { display: none; }
html:not(#pf) .notification_wrapper .notification_area .nf-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--pf-border, #E5E7EB); font-size: 15px; color: var(--pf-heading, #02193C); }
html:not(#pf) .notification_wrapper .notification_area .nf-head-n { min-width: 24px; height: 24px; padding: 0 8px; border-radius: 12px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-text, #1A1A18); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
html:not(#pf) .notification_wrapper .notification_area .notification_body { padding: 8px; height: auto; max-height: 340px; overflow: auto; display: flex; flex-direction: column; gap: 4px; }
html:not(#pf) .notification_wrapper .notification_area .notification_body .single_nofy { display: grid; grid-template-columns: 40px minmax(0, 1fr) 10px; gap: 12px; align-items: start; margin: 0; padding: 12px; border-radius: 12px; text-decoration: none; transition: background-color .12s; }
html:not(#pf) .notification_wrapper .notification_area .notification_body .single_nofy:not(:last-child) { margin-bottom: 0; }
html:not(#pf) .notification_wrapper .notification_area .notification_body .single_nofy:hover { background: var(--pf-surface-2, #F7F6F4); }
html:not(#pf) .notification_wrapper .notification_area .nf-av { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); font-size: 17px; }
html:not(#pf) .notification_wrapper .notification_area .notyfy_content { min-width: 0; }
html:not(#pf) .notification_wrapper .notification_area .nf-from { display: block; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--pf-text-muted, #6E6E6C); margin-bottom: 2px; }
html:not(#pf) .notification_wrapper .notification_area .nf-msg { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--pf-heading, #02193C); overflow-wrap: anywhere; }
html:not(#pf) .notification_wrapper .notification_area .nf-time { margin: 4px 0 0; font-size: 12px; line-height: 1.3; color: var(--pf-text-muted, #6E6E6C); }
html:not(#pf) .notification_wrapper .notification_area .nf-time i { margin-right: 4px; }
html:not(#pf) .notification_wrapper .notification_area .nf-dot { width: 10px; height: 10px; border-radius: 50%; background: #15803D; margin-top: 6px; }
html:not(#pf) .notification_wrapper .notification_area .nf-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 16px; color: var(--pf-text-muted, #6E6E6C); font-size: 14px; }
html:not(#pf) .notification_wrapper .notification_area .nf-empty i { font-size: 26px; }
html:not(#pf) .notification_wrapper .notification_area .notification_footer { border-top: 1px solid var(--pf-border, #E5E7EB); padding: 12px; background: var(--pf-surface-2, #F7F6F4); }
html:not(#pf) .notification_wrapper .notification_area .nf-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; }
html:not(#pf) .notification_wrapper .notification_area .nf-btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--pf-action, #0563F0); border-radius: 12px; background: var(--pf-surface, #fff); color: var(--pf-link, #0563F0); font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; }
html:not(#pf) .notification_wrapper .notification_area .nf-btn:hover { background: var(--pf-action-soft, #DAE8FD); }
html:not(#pf) .notification_wrapper .notification_area .nf-btn--main { background: var(--pf-action, #0563F0); color: #fff; }
html:not(#pf) .notification_wrapper .notification_area .nf-btn--main:hover { background: var(--pf-action-hover, #044AB4); color: #fff; }
html:not(#pf) .notification_wrapper .notification_area .notification_footer > .d-flex { margin-top: 10px; font-size: 13px; }
html:not(#pf) .notification_wrapper .notification_area .nf-head-msg { margin-left: auto; margin-right: 10px; font-size: 12.5px; font-weight: 700; color: var(--pf-link, #0563F0); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
html:not(#pf) .notification_wrapper .notification_area .nf-head-msg:hover { text-decoration: underline; }
html:not(#pf) .notification_wrapper .notification_area .nf-reply { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 1px 9px; border-radius: 99px; background: var(--pf-action-soft, #DAE8FD); color: var(--pf-link, #0563F0); font-weight: 700; }

/* scheda PromoBrain nel menu laterale */
.pfb-card { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 12px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; background: rgba(255, 255, 255, .07); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.pfb-card:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); }
.pfb-card:focus-visible { outline: 3px solid #AFCEFD; outline-offset: 2px; }
.pfb-pw { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #AFCEFD; line-height: 1; }
.pfb-card > img { width: 100%; max-width: 128px; height: auto; }
.pfb-tag { font-size: 12px; line-height: 1.4; color: #FFFFFF; opacity: .92; }
.pfb-cta { display: inline-block; margin-top: 2px; padding: 6px 14px; border-radius: 99px; background: #FFFFFF; color: #033B90; font-size: 12px; font-weight: 800; line-height: 1.2; }
.pfb-cta[hidden] { display: none; }
html:not(#pf) #sidebar.mini_sidebar .pf-brain-side { padding: 0; }
html:not(#pf) #sidebar.mini_sidebar .pfb-card { padding: 6px 2px; border: 0; background: transparent; }
html:not(#pf) #sidebar.mini_sidebar .pfb-pw, html:not(#pf) #sidebar.mini_sidebar .pfb-tag, html:not(#pf) #sidebar.mini_sidebar .pfb-cta { display: none; }
html:not(#pf) #sidebar.mini_sidebar .pfb-card > img { display: none; }
