/* Production adapters preserve the existing PHP forms, catalogs and report markup. */
.site-redesigned{font-family:Manrope,Arial,sans-serif;background:#fff;--page-click:#205944;--page-click-dark:#173f31;--page-click-soft:#edf4e9;--page-click-ink:#205944}
.site-redesigned :is(.section-title h2,.page-hero h1){font-family:InstrumentSerif,Georgia,serif;font-weight:400;letter-spacing:0}
.site-redesigned .page-hero{background:#edf3ec;color:#233c2e;padding:58px 0 48px}
.site-redesigned .page-hero::before,.site-redesigned .page-hero::after{display:none}
.site-redesigned .page-hero .content{min-height:0;align-items:start}
.site-redesigned .page-hero .content>div{max-width:950px;border:0;padding:0}
.site-redesigned .page-hero h1{font-size:54px;line-height:1.1;max-width:25ch;margin:12px 0 22px}
.site-redesigned .page-hero p{color:#425e4a;max-width:72ch;font-size:16px}
.site-redesigned .eyebrow{display:none}
.site-redesigned .section-title h2{font-size:42px}
.site-redesigned .content{width:calc(100% - 112px);max-width:1328px}
.site-redesigned .section{padding-top:52px;padding-bottom:52px}
.site-redesigned .section.compact{padding-top:32px;padding-bottom:32px}
.site-redesigned .card{border-radius:6px;box-shadow:none;background:#fff}
.site-redesigned .card h2{font-family:Manrope,Arial,sans-serif;font-size:23px}
.site-redesigned .primary-button,.site-redesigned .button{background:#205944;color:#fff;border-color:#205944;box-shadow:none;font-weight:600;border-radius:4px}
.site-redesigned .ghost-button{background:#fff;border:1px solid #c8d4c8;color:#294d36;box-shadow:none;border-radius:4px;font-weight:600}
.site-redesigned .primary-button:hover,.site-redesigned .button:hover{background:#143c2c}
.site-redesigned .breadcrumbs{font-size:12px;color:#4e6652}
.site-redesigned .section-title p{line-height:1.8;color:#5a6e5f}
.site-redesigned .site-value-grid article{background:#fff;box-shadow:none;border:0;border-top:1px solid var(--line);border-radius:0}
.site-redesigned .floating-contact{right:24px;bottom:86px}
.site-redesigned .floating-contact a{width:44px;min-height:44px;padding:12px;border-radius:5px}
.site-redesigned .floating-contact span,.site-redesigned .floating-mail{display:none}
.public-footer{min-height:85px}
.public-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.public-header a[aria-current=page]{color:#205944;text-decoration:underline;text-underline-offset:6px}
.public-logout{font-size:12px;color:#536a5b}
.home-model-section{padding-top:64px!important;padding-bottom:64px!important}
.home-model-section .interactive-3d{grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:48px}
.home-model-section h2{font-family:InstrumentSerif,Georgia,serif;font-size:40px;font-weight:400}
.home-model-section .model-stage{min-width:0}
.app-workspace{font-family:Manrope,Arial,sans-serif}
.app-workspace .workspace{max-width:1700px;padding:30px 32px;min-width:0}
.app-workspace .workspace>.section>.content,.app-workspace .workspace>.page-hero>.content{width:100%;max-width:none}
.app-workspace .workspace>.section{padding:20px 0;background:transparent}
.app-workspace .reserved-hero{background:none;border:0;padding:0 0 8px}
.app-workspace .reserved-hero .content{display:block}
.app-workspace .reserved-hero h1{font-size:29px;line-height:1.25;margin:0 0 10px;font-weight:650}
.app-workspace .reserved-hero p{color:#5b7060;font-size:13px;margin-bottom:12px;max-width:78ch}
.app-workspace .reserved-hero .hero-panel{display:none}
.app-workspace .metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0}
.app-workspace .metrics-grid article{padding:0 24px;border:0;border-right:1px solid var(--line);background:none;box-shadow:none;border-radius:0}
.app-workspace .metrics-grid article:first-child{padding-left:0}
.app-workspace .metrics-grid article:last-child{border:0}
.app-workspace .metrics-grid strong{font-size:32px;font-weight:550;color:#274d72}
.app-workspace .metrics-grid span{font-size:12px;font-weight:500;color:#607564}
.app-workspace .metrics-grid a{display:block}
.workspace-account{font-size:12px;color:#577061;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-footer{display:flex;justify-content:space-between;gap:20px;padding:24px 32px;border-top:1px solid #dfe6e0;font-size:11px;color:#62786a;background:#fff}
.app-workspace .sidebar{overflow-y:auto;scrollbar-width:thin}
.app-workspace .sidebar-bottom{flex-shrink:0}
.app-workspace .manager-user strong{max-width:158px;overflow-wrap:anywhere}
.app-workspace .table-card{border-color:#dbe4dd;border-radius:5px;max-height:70vh}
.app-workspace .manager-wide-table{padding:20px;background:#fff;border-color:#dbe4dd}
.app-workspace .manager-wide-table>.table-card{border-left:0;border-right:0;border-bottom:0;border-radius:0}
.app-workspace .table-card th{background:#f3f6f3;font-size:11px;font-weight:600;color:#5c7162;text-transform:none;padding:14px}
.app-workspace .table-card td{padding:16px 14px;font-size:12px;line-height:1.7;vertical-align:top}
.app-workspace .table-card .status-pill{font-size:10px;font-weight:550;border-radius:4px;padding:5px 8px}
.app-workspace .table-action,.app-workspace .primary-button{font-size:12px;border-radius:4px;font-weight:600}
.app-workspace .primary-button{background:#2d568a;color:white;border-color:#2d568a}
.app-workspace .ghost-button{font-size:12px;font-weight:550;border-color:#cfdacf;background:white;box-shadow:none;color:#375b44}
.app-workspace .card{border:1px solid #dbe4dd;border-radius:6px;box-shadow:none}
.app-workspace .card h2,.app-workspace .card h3{font-size:19px;font-weight:600}
.app-workspace .card p{font-size:13px;line-height:1.8}
.app-workspace .card.tone-blue{background:#fff}
.app-workspace .stack-form label{font-weight:600;font-size:12px;color:#395241}
.app-workspace .stack-form :is(input,select,textarea){border-color:#c8d7cb;background:white;border-radius:4px;font-size:14px}
.app-workspace .danger-button,.app-workspace .table-danger-action{font-size:12px;border-radius:4px}
.dashboard-shortcuts{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.dashboard-shortcuts>a{font-size:12px;padding:10px 14px;display:flex;align-items:center;gap:8px;border:1px solid #d5dfd6;background:#fff;border-radius:4px}
.dashboard-shortcuts svg{width:16px;height:16px;color:#456a50}
.live-table-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 0}
.live-search{display:flex;align-items:center;gap:8px;flex:1;min-width:180px}
.live-search>svg{width:16px;color:#708b78}
.live-search input{width:100%;min-width:0;min-height:40px;border:1px solid #d5dfd6;border-radius:4px;padding:10px 12px;font-size:12px;background:#fff}
.live-table-controls{display:flex;align-items:center;gap:8px}
.live-table-controls select{max-width:200px;min-height:38px;border:1px solid #d5dfd6;border-radius:4px;padding:8px;font-size:11px;background:white}
.live-result-count{font-size:10px;color:#5f7565;margin-left:auto}
.table-empty-row td{padding:28px!important;color:#6b7d6e}
.auth-page .public-header .auth-navigation{display:flex;gap:24px;font-size:13px}
.auth-page .auth-shell{background:#f0f4ef;min-height:72vh;padding:60px 20px}
.auth-page .auth-card{box-shadow:none;border-color:#d4dfd3;border-radius:7px;padding:36px}
.auth-page .auth-card h1{font-family:InstrumentSerif,Georgia,serif;font-size:43px;font-weight:400}
.auth-page .auth-card .eyebrow{display:none}
.auth-page .auth-card p{font-size:14px;color:#536a5b;line-height:1.8}
.auth-page .primary-button{background:#205944;border-color:#205944}
.auth-page .stack-form :is(input,select,textarea){border-color:#cbd7c9;border-radius:4px}
.auth-page .stack-form label{font-size:13px;font-weight:600;color:#3b5543}

/* Direct access stays outside both the desktop dropdown and the floating menu. */
:root{--priority-height:60px}
html{scroll-padding-top:90px}
.public-header{z-index:60}
.public-header #public-nav{color:#304e69}
.public-header #public-nav>a:hover,.public-header .services-menu summary:hover{color:#175d91}
.public-header .services-dropdown a:hover{background:#edf4fc;color:#244c78}
.public-header a[aria-current=page]{color:#22588b;text-decoration-color:#22588b}
.public-header .login-link{border-color:#b6c8da;background:#f7fafd;color:#2a5074}
.public-header #public-nav.open{top:calc(100% + var(--priority-height));max-height:calc(100dvh - 170px);overflow:auto}
.priority-nav{position:sticky;top:0;z-index:40;min-height:var(--priority-height);display:flex;align-items:center;justify-content:center;gap:14px;padding:8px 24px;background:#fff;border-top:1px solid #e4eaf0;border-bottom:1px solid #d9e3ed}
.priority-nav>a{min-height:42px;padding:9px 18px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:5px;font-size:12px;font-weight:650;transition:background .16s ease,border-color .16s ease;min-width:190px}
.priority-nav svg{width:17px;height:17px;stroke-width:1.8}
.priority-checkup{background:#eaf3ff;border-color:#c4daf1!important;color:#225888}
.priority-checkup:hover{background:#dcecff}
.priority-careers{background:#eef6f1;border-color:#d0e3d5!important;color:#2d6748}
.priority-careers:hover{background:#e0efe5}
.priority-contact{background:#2a568b;color:#fff}
.priority-contact:hover{background:#1e456e}
.priority-news{background:#fff2c4;color:#664400;border-color:#e3c56d!important}
.priority-news:hover{background:#ffe69b}
@media(max-width:760px){.priority-nav>a{flex-direction:column;gap:3px;padding:5px 3px}.priority-nav>a>span{max-width:80px}.priority-nav svg{flex-shrink:0}}
.site-redesigned section[id]{scroll-margin-top:90px}
.site-redesigned :is(.newsletter-card,.course-detail,.side-panel,.result-panel){top:calc(var(--priority-height) + 20px)}
.site-redesigned .new-hero{height:calc(100svh - 268px);min-height:580px;max-height:750px;position:relative}
.site-redesigned .new-hero .hero-photo{object-position:center center}
.site-redesigned .new-hero .hero-scrim{background:#081a2e24}
.site-redesigned .hero-inner{padding-top:58px;position:relative;z-index:1;pointer-events:none}
.site-redesigned .hero-inner :is(a,button){pointer-events:auto}
.site-redesigned .hero-inner h1{font-size:86px;max-width:560px}
.site-redesigned .hero-inner>p{max-width:470px;font-size:16px}
.site-redesigned .hero-foot{font-size:11px}
.hero-services{position:absolute;left:55%;right:4%;top:65px;bottom:100px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px;align-content:center;justify-items:start;z-index:2}
.service-bubble{display:inline-flex;align-items:center;gap:10px;min-height:46px;max-width:100%;padding:11px 17px;border-radius:28px;background:#fffffff2;border:1px solid #d8e1ea;box-shadow:0 6px 20px #0e2d4821;color:#244459;font-size:13px;font-weight:650;transition:transform .18s ease,background .18s ease}
.service-bubble:nth-child(even){transform:translateY(-12px)}
.service-bubble:hover{background:#fff;transform:translateY(-3px)}
.service-bubble:nth-child(even):hover{transform:translateY(-15px)}
.service-bubble svg{width:19px;height:19px}
.bubble-safety svg{color:#28724d}.bubble-project svg,.bubble-systems svg{color:#2b6096}.bubble-sound svg{color:#4b7185}.bubble-course svg{color:#9b6c24}.bubble-legal svg{color:#586477}.bubble-fire svg{color:#a64a3d}.bubble-energy svg{color:#a27318}
.site-redesigned{--section-accent:#2d568c;--section-wash:#eef3fa;--section-ink:#264a76}
.site-redesigned.page-sicurezza{--section-accent:#267358;--section-wash:#eef7f1;--section-ink:#235b45}
.site-redesigned.page-formazione,.site-redesigned.page-catalogo-corsi{--section-accent:#8a611e;--section-wash:#fcf6e8;--section-ink:#76531c}
.site-redesigned.page-acustica{--section-accent:#426b83;--section-wash:#eef6f9;--section-ink:#33576d}
.site-redesigned.page-antincendio{--section-accent:#a34b3f;--section-wash:#fbf0ed;--section-ink:#823e34}
.site-redesigned.page-contatti{--section-accent:#237467;--section-wash:#edf7f4;--section-ink:#245e53}
.site-redesigned .page-hero{background:var(--section-wash);border-bottom:1px solid #e0e7eb}
.site-redesigned .page-hero :is(h1,p){color:var(--section-ink)}
.site-redesigned .primary-button,.site-redesigned .button{background:var(--section-accent);border-color:var(--section-accent)}
.site-redesigned .primary-button:hover,.site-redesigned .button:hover{background:var(--section-ink);border-color:var(--section-ink)}
.site-redesigned .ghost-button{border-color:#cbd8e2;color:var(--section-ink)}
.site-redesigned .ghost-button:hover{background:var(--section-wash);border-color:var(--section-accent)}
.site-redesigned .course-quick-filters button.active{background:var(--section-accent);border-color:var(--section-accent);color:#fff}
.app-workspace .nav-item:hover{background:#edf2f8;color:#274f7d}
.app-workspace .table-card th{background:#f0f4f8;color:#426180}
.app-workspace .table-action{background:#eaf1fa;color:#2d568a}
.app-workspace .table-action:hover{background:#d9e7f8}
@media(max-width:1100px){.site-redesigned .hero-inner h1{font-size:74px;max-width:440px}.site-redesigned .hero-inner>p{max-width:420px}.hero-services{left:54%;right:3%;gap:22px 12px}.service-bubble{font-size:12px;gap:8px;padding:10px 13px}.priority-nav{gap:10px}}
@media(max-width:760px){:root{--priority-height:70px}.priority-nav{gap:7px;padding:8px 12px;align-items:stretch}.priority-nav>a{min-width:0;flex:1;min-height:52px;padding:7px 8px;gap:6px;font-size:10px;line-height:1.45;text-align:center}.priority-nav svg{width:16px;height:16px}.priority-nav>a>span{max-width:90px}.site-redesigned .new-hero{display:flex;flex-direction:column;min-height:0;height:auto;max-height:none}.site-redesigned .new-hero .hero-photo{object-position:64% center}.site-redesigned .hero-inner{order:1;height:auto;padding:38px 0 26px}.site-redesigned .hero-inner h1{font-size:58px;max-width:100%}.site-redesigned .hero-inner>p{font-size:14px;max-width:100%;margin-top:20px;margin-bottom:24px}.site-redesigned .hero-links{gap:18px}.site-redesigned .hero-foot{display:none}.hero-services{position:relative;inset:auto;order:2;width:calc(100% - 40px);margin:0 auto 28px;gap:10px;align-content:start;justify-items:stretch}.service-bubble{justify-content:flex-start;min-height:40px;width:100%;padding:8px 11px;font-size:11px;gap:8px;box-shadow:0 3px 10px #0e2d481c}.service-bubble svg{width:16px;height:16px}.service-bubble:nth-child(even),.service-bubble:nth-child(even):hover{transform:none}.site-redesigned .page-hero{padding-top:32px}.site-redesigned .section-title h2{font-size:33px}.auth-page .priority-nav{position:sticky}}
@media print{.priority-nav,.hero-services{display:none!important}}
@media(max-width:760px){:root{--priority-height:85px}}

/* One shared header: direct actions remain outside the collapsible navigation. */
:root{--priority-height:84px}
.public-header{position:sticky;top:0;min-height:84px;padding:14px 2%;gap:20px;border-bottom:1px solid #d9e3ed}
.public-header .logo img{width:200px;height:auto}
.public-header #public-nav{gap:18px;font-size:12px;margin-left:auto}
.public-header .priority-nav{position:static;display:flex;flex-shrink:0;min-height:0;gap:7px;padding:0;border:0;background:none;order:2}
.public-header .priority-nav>a{min-width:0;min-height:40px;padding:8px 10px;font-size:11px;gap:6px;white-space:nowrap}
.public-header .priority-nav svg{width:15px;height:15px}
.public-header .mobile-toggle{order:3;flex-shrink:0}
.public-header #public-nav.open{top:100%;max-height:calc(100dvh - 84px)}
.public-floating{display:none!important}
.public-header .auth-navigation{margin-left:auto}
@media(max-width:1350px){
 .public-header .mobile-toggle{display:inline-flex}
 .navigation-ready .public-header #public-nav{display:none}
 .navigation-ready .public-header #public-nav.open{display:flex;position:absolute;left:0;right:0;flex-direction:column;align-items:stretch;padding:20px;background:white;border-bottom:1px solid #d9e3ed}
 .public-header .priority-nav{margin-left:auto}
 .public-header .services-dropdown{position:static;width:100%;box-shadow:none}
}
@media(max-width:760px){
 :root{--priority-height:72px}
 .public-header{min-height:72px;padding:10px 8px;gap:8px}
 .public-header .logo img{width:52px}
 .public-header .priority-nav{flex:1;min-width:0;flex-shrink:1;overflow-x:auto;justify-content:flex-start;gap:6px;scrollbar-width:thin;scroll-snap-type:x proximity}
 .public-header .priority-nav>a{flex:1 0 0;min-width:0;min-height:46px;padding:6px 3px;font-size:10px;line-height:1.4;flex-direction:row;scroll-snap-align:start}
 .public-header .priority-nav>a>span{max-width:76px;white-space:normal}
 .public-header .priority-nav svg{display:none}
 .public-header .mobile-toggle{width:34px;height:38px}
 .public-header #public-nav.open{max-height:calc(100dvh - 72px)}
 .auth-page .public-header .priority-nav{margin-left:auto}
}
@media(max-width:1100px){.site-redesigned:not(.navigation-ready) .public-header{flex-wrap:wrap}.site-redesigned:not(.navigation-ready) .public-header nav{display:flex;position:static;flex-wrap:wrap;gap:12px;width:100%;background:#fff}.site-redesigned:not(.navigation-ready) .mobile-toggle{display:none}}
@media(max-width:760px){.app-workspace:not(.navigation-ready) .sidebar{position:static;transform:none;width:auto;box-shadow:none}.app-workspace:not(.navigation-ready) .sidebar nav{display:flex;flex-wrap:wrap;gap:6px}.app-workspace:not(.navigation-ready) .nav-item{width:auto}.app-workspace:not(.navigation-ready) .sidebar-bottom{padding-top:0}.app-workspace:not(.navigation-ready) .sidebar-toggle{display:none}}
@media(max-width:1100px){.site-redesigned .content{width:calc(100% - 64px)}.app-workspace .workspace{padding:26px 24px}.app-workspace .metrics-grid article{padding:0 15px}.home-model-section .interactive-3d{grid-template-columns:1fr}}
@media(max-width:760px){.site-redesigned .content{width:calc(100% - 36px)}.site-redesigned .page-hero{padding:38px 0 34px}.site-redesigned .page-hero h1{font-size:37px;max-width:100%}.site-redesigned .page-hero p{font-size:14px}.site-redesigned .section-title h2{font-size:34px}.site-redesigned .section{padding:36px 0}.site-redesigned .section.compact{padding:24px 0}.site-redesigned .card h2{font-size:21px}.site-redesigned .floating-contact{right:20px;bottom:84px}.public-footer{align-items:start}.app-workspace .workspace{padding:24px 16px}.app-workspace .reserved-hero h1{font-size:26px}.app-workspace .metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.app-workspace .metrics-grid article{padding:18px 12px!important;border-bottom:1px solid var(--line)}.app-workspace .metrics-grid article:nth-child(even){border-right:0}.app-workspace .metrics-grid article:nth-child(n+3){border-bottom:0}.app-workspace .metrics-grid strong{font-size:29px}.app-workspace .metrics-grid span{font-size:11px}.app-workspace .workspace-account{max-width:110px;font-size:10px}.workspace-footer{padding:22px 16px;font-size:10px;flex-wrap:wrap}.app-workspace .manager-wide-table{padding:14px}.live-table-tools{gap:10px}.live-search{flex-basis:100%}.live-result-count{font-size:10px}.app-workspace .live-records{max-height:none;border:0;overflow:visible}.app-workspace .live-records table{min-width:0!important;width:100%;display:block}.app-workspace .live-records thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.app-workspace .live-records tbody{display:block}.app-workspace .live-records tr{display:block;border:1px solid #dbe4dd;border-radius:5px;margin-bottom:12px;padding:14px;background:white}.app-workspace .live-records td{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:7px 0!important;border:0;font-size:12px;overflow-wrap:anywhere}.app-workspace .live-records td::before{content:attr(data-label);font-size:10px;color:#617465;font-weight:600;line-height:1.8}.app-workspace .live-records td>*{min-width:0}.app-workspace .live-records .table-empty-row td{display:block}.app-workspace .live-records .table-empty-row td::before{display:none}.app-workspace .live-records td .status-pill{justify-self:start}.app-workspace .table-card tr:hover td{background:none}.auth-page .auth-card{padding:26px}.auth-page .auth-card h1{font-size:36px}.auth-page .public-header .auth-navigation{position:static;flex-direction:row;padding:0;border:0;gap:12px;font-size:11px}.auth-page .public-header .logo img{width:170px}.auth-page .public-header{flex-wrap:wrap}.home-model-section h2{font-size:34px}}
@media print{.sidebar,.workspace-header,.workspace-footer,.public-header,.public-footer,.skip,.public-floating,.floating-contact,.live-table-tools{display:none!important}.manager-shell{margin:0!important}.app-workspace .workspace{padding:0!important}.app-workspace .live-records{max-height:none;overflow:visible}.app-workspace .table-card th{position:static}.app-workspace .live-records table{display:table!important}.app-workspace .live-records thead{position:static;width:auto;height:auto;clip-path:none;display:table-header-group!important}.app-workspace .live-records tbody{display:table-row-group!important}.app-workspace .live-records tr{display:table-row!important}.app-workspace .live-records td{display:table-cell!important}.app-workspace .live-records td::before{display:none}}
