:root{--navy:#112a36;--navy2:#173742;--teal:#176f68;--teal-light:#e6f3ef;--ink:#182c39;--muted:#798995;--line:#e6ebec;--surface:#fff;--bg:#f5f7f5;--light:#f9faf9;--amber:#ab6c29;--shadow:0 8px 35px rgba(31,48,57,.035)}
*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:'DM Sans',system-ui,-apple-system,sans-serif;background:var(--bg);font-size:14px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{display:flex;min-height:100vh}.sidebar{background:var(--navy);width:258px;min-width:258px;position:sticky;top:0;height:100vh;padding:28px 16px 22px;display:flex;flex-direction:column;color:#c2d1d5}.brand{padding:2px 10px 37px;display:flex;align-items:center;gap:12px;color:white}.brand-icon{background:#e2f2e8;color:#194d44;font:800 23px Manrope;width:40px;height:43px;display:grid;place-items:center;border-radius:12px;position:relative}.brand-marker{font-size:11px;color:#4fae92;position:absolute;top:5px;right:4px}.brand-text{display:flex;flex-direction:column;gap:4px}.brand-text strong{font:800 18px Manrope;letter-spacing:-.6px}.brand-text small{font:500 9px Manrope;color:#9aadb1;letter-spacing:.7px;text-transform:uppercase}.section-label{font-size:10px;letter-spacing:1.9px;color:#6d8992;font-weight:800;margin:17px 15px 13px}.navigation{display:flex;flex-direction:column;gap:4px}.navlink{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;font-size:12.5px;font-weight:600;color:#b4c5c9;transition:background .15s,color .15s}.navlink:hover{background:#284552;color:#fff}.navlink.active{background:#276c68;color:#fff}.navicon{font:700 19px Manrope;width:22px;text-align:center;flex:0 0 22px}.sidebar-footer{margin-top:auto;padding:17px 12px 0;border-top:1px solid #31505a;display:flex;align-items:flex-start;gap:11px;font-size:11px;color:#91a8aa}.sidebar-footer strong{display:block;color:#c5d8d9;font-weight:600;margin-top:4px}.live-dot{margin-top:4px;width:7px;height:7px;border-radius:50%;background:#73c9a2;box-shadow:0 0 0 4px #254b47}.main-area{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:78px;background:rgba(255,255,255,.93);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 36px}.breadcrumb{display:flex;gap:12px;align-items:center;color:#80909b;font-size:12px}.breadcrumb strong{color:#25434e}.breadcrumb-sep{color:#c5cfd0}.top-actions{display:flex;align-items:center;gap:18px}.top-actions form{margin:0}.user-pill{display:flex;gap:9px;align-items:center;font-weight:700;font-size:12px}.avatar{width:32px;height:32px;background:#e7efeb;border-radius:50%;color:#2d7067;display:grid;place-items:center}.ghost-button{border:none;background:none;color:#627782;font-size:12px;font-weight:700}.content{padding:39px 38px 20px;max-width:1540px;width:100%;margin:0 auto}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:2px;color:#5c9384;font-weight:800;margin-bottom:11px}.page-intro h1{font:800 29px Manrope,system-ui;letter-spacing:-1.1px;margin:0 0 9px}.page-intro p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:1px solid transparent;border-radius:9px;font-weight:700;font-size:12px;padding:13px 18px;white-space:nowrap;min-height:43px;transition:transform .12s,box-shadow .12s}.btn:hover{transform:translateY(-1px)}.btn-primary{color:#fff;background:#18746d;box-shadow:0 6px 16px #177d7223}.btn-primary:hover{background:#10655f}.btn-secondary{color:#346058;background:#fff;border-color:#dce6e2}.btn-secondary:hover{background:#f2faf6}.plus{font-size:19px;line-height:5px;font-weight:400}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.metric-card{border:1px solid var(--line);border-radius:13px;background:#fff;padding:22px 22px 18px;box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:174px}.metric-card:hover{border-color:#b5d1c9}.metric-icon{height:37px;width:37px;border-radius:10px;display:grid;place-items:center;font-size:20px;font-weight:800;margin-bottom:17px}.bg-blue{background:#eaf1f7;color:#4c79a1}.bg-teal{background:#e4f4ee;color:#168475}.bg-amber{background:#fff3e1;color:#b07a3a}.bg-purple{background:#efedfa;color:#8774b6}.metric-label{font-size:12px;color:#72828d;font-weight:600}.metric-value{font:800 34px Manrope;margin:5px 0 13px;letter-spacing:-1.5px}.metric-foot{margin-top:auto;display:flex;justify-content:space-between;font-size:11px;color:#86989e}.metric-foot span{color:#327e71}.section-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);overflow:hidden}.panel-heading{min-height:81px;padding:22px 24px;border-bottom:1px solid #eef1f0;display:flex;justify-content:space-between;align-items:center;gap:18px}.panel-heading h2{font:800 15px Manrope;margin:0}.panel-heading p{margin:6px 0 0;color:#92a0a7;font-size:11px}.text-link,.link-button{font-size:11.5px;color:#168373;font-weight:800;white-space:nowrap}.link-button{border:none;background:transparent;padding:4px 0}.text-link:hover,.link-button:hover{text-decoration:underline}.record-list{padding:0 24px}.record-row{padding:16px 0;display:flex;align-items:center;gap:12px;border-bottom:1px solid #eff2f1}.record-row:last-child{border-bottom:none}.record-icon{flex:0 0 32px;width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#f1f6f4;color:#3f8177;font-weight:800;font-size:17px}.record-meta{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.record-meta strong{font-weight:700;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-meta small{font-size:10px;color:#9aa8ad}.linked:hover .record-meta strong{color:#168373}.status-chip{display:inline-flex;align-items:center;border-radius:6px;background:#f1f3f5;color:#647581;font-weight:700;padding:6px 9px;font-size:10px;white-space:nowrap}.status-chip.large{font-size:12px;padding:10px 14px}.status-active,.status-closed,.status-resolved{background:#e9f6ef;color:#287b58}.status-urgent{background:#fce9e7;color:#b74337}.status-low{background:#eef1f2;color:#586b77}.status-todo,.status-received{background:#f2f2fb;color:#7167ae}.status-working,.status-assigned{background:#e8f4ff;color:#457ca8}.status-waiting{background:#fef4e2;color:#a77725}.empty-state{text-align:center;padding:40px 18px;display:flex;flex-direction:column;align-items:center;gap:9px;font-size:12px;color:#9aa7ae}.empty-icon{height:45px;width:45px;background:#eef5f2;border-radius:14px;color:#4e877f;font-size:25px;display:grid;place-items:center;margin:0 auto 5px}.empty-state strong{font-size:13px;color:#506570}.start-panel{margin-top:22px;border-radius:13px;background:#e9f2ee;border:1px solid #dce9e3;display:flex;justify-content:space-between;align-items:center;padding:25px 27px;gap:15px}.start-panel h2{font:800 16px Manrope;margin:0 0 7px}.start-panel p{margin:0;color:#668078;font-size:12px;line-height:1.6}.start-panel .eyebrow{margin-bottom:8px}.page-footer{font-size:10px;color:#a0abad;margin:35px 0 12px;display:flex;gap:9px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin:0 0 14px}.toolbar-title{font-weight:800;font-size:14px}.count-badge{background:#e6efeb;color:#578576;padding:3px 7px;border-radius:5px;font-size:10px}.toolbar-hint{color:#9aa5aa;font-size:11px}.item-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.place-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;display:block}.place-card:hover{border-color:#98c7b9}.place-card-top{display:flex;justify-content:space-between;align-items:center}.place-icon{height:42px;width:42px;border-radius:11px;background:#eaf3ef;color:#408f79;display:grid;place-items:center;font-size:24px}.place-card h2{font:800 17px Manrope;margin:19px 0 7px}.place-card p{font-size:11.5px;color:#9aa4aa;min-height:20px}.place-foot{display:flex;justify-content:space-between;border-top:1px solid #edf0f0;margin-top:22px;padding-top:14px;font-size:11px;color:#6d858d}.empty-big{border:1px dashed #cfdbd8;background:#fff;border-radius:13px;text-align:center;padding:65px 15px;max-width:900px;margin:auto}.empty-big h2{font:800 17px Manrope;margin-top:19px}.empty-big p{max-width:440px;margin:8px auto 23px;color:#81929a;font-size:12px;line-height:1.7}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;background:#fafbf9;color:#80929b;font-size:10px;text-transform:uppercase;letter-spacing:.6px;font-weight:800;padding:14px 20px}td{padding:17px 20px;border-top:1px solid #edf1f0;vertical-align:middle}td strong{font-weight:700}td small{display:block;color:#95a4ab;margin-top:4px;font-size:10px}code{color:#4a8076;background:#eef7f2;padding:5px 7px;border-radius:4px;font-size:10.5px}.search-form{display:flex;gap:6px}.search-form input,.inline-select{border:1px solid #dce7e4;background:white;border-radius:7px;padding:10px 13px;color:#526e78;outline:none;font-size:11px}.search-form input{min-width:240px}.search-form .btn{min-height:33px;padding:7px 12px}.filter-tabs{display:flex;gap:7px;margin:0 0 15px}.tab{font-size:11.5px;font-weight:700;border-radius:7px;padding:11px 16px;border:1px solid #dce5e1;background:white;color:#6b7d86}.tab.selected{color:white;background:#217c71;border-color:#217c71}.backlink{display:inline-block;font-size:11px;color:#318174;font-weight:700;margin-bottom:15px}.spaced{margin-top:20px}.tree-building{margin:20px 23px;padding:15px 15px 17px;border:1px solid #e8edeb;border-radius:9px}.tree-heading,.tree-floor{display:flex;justify-content:space-between;align-items:center;gap:10px}.tree-heading strong,.tree-floor strong{font-size:12.5px}.tree-heading small{color:#9ca9ac;font-size:10px}.tree-icon{background:#e7f2ed;color:#468777;padding:6px 9px;border-radius:8px;margin-right:9px}.tree-floor{padding:17px 0 8px 18px}.tree-line{color:#8db6a7;margin-right:10px}.tree-room{padding:7px 0 6px 47px;display:flex;align-items:center;gap:12px;font-size:11px;color:#6b7d83}.tree-room>span:first-child{color:#8bb7aa}.tree-room small,.subtle{color:#a0afb3;font-size:10px}.detail-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.details-list{padding:15px 24px;margin:0}.details-list>div{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #f0f2f0}.details-list dt{color:#82969c;font-size:11px}.details-list dd{font-weight:700;font-size:12px;margin:0;text-align:right}.detail-description{padding:15px 24px 23px}.detail-description strong{font-size:11px}.detail-description p{font-size:12px;line-height:1.7;color:#677a83}.quick-close{padding:22px 24px}.quick-close>p{margin:0 0 20px;font-size:12px;color:#758b91;line-height:1.7}.wide{width:100%}.success-panel{padding:40px 23px;text-align:center}.success-panel>span{display:grid;place-items:center;background:#e4f5eb;border-radius:50%;height:47px;width:47px;color:#43855c;margin:auto;font-size:22px}.success-panel h3{font:800 17px Manrope;margin:15px 0 5px}.success-panel p{color:#8a9b9d;font-size:12px}.form-panel{max-width:920px;padding:28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:22px;row-gap:19px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group.full{grid-column:1 / -1}.form-group label{font-weight:800;color:#536a72;font-size:11px}.form-control,.form-group input,.form-group textarea,.form-group select{border:1px solid #d8e3e1;border-radius:8px;width:100%;padding:12px 13px;color:#2c4a53;font-size:12px;background:#fff;outline:none}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:#3a998c;box-shadow:0 0 0 3px #ceeae422}.form-group textarea{min-height:100px}.check-field{justify-content:center}.check-label{display:flex;gap:10px;align-items:center}.check-label input{width:auto}.required{color:#bb694b}.help{font-size:10px;color:#9babb0}.field-error{font-size:11px;color:#b14d42}.form-actions{display:flex;gap:12px;justify-content:flex-end;padding-top:25px;margin-top:24px;border-top:1px solid #e9eeec}.messages{margin-bottom:19px}.message{border-radius:9px;padding:14px 16px;background:#eaf6f1;color:#28755c;border:1px solid #cce8dc;font-size:12px;margin-bottom:8px}.message.error{background:#fceeea;border-color:#f5d0ca;color:#a04739}.info-note{margin-top:19px;padding:20px;background:#edf4f1;border-radius:10px}.info-note strong{font-size:12px;color:#4d7e71}.info-note p{font-size:11px;color:#768f86;line-height:1.7;margin:7px 0 0}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.login-showcase{position:relative;background:linear-gradient(130deg,#102e3b,#225a57);color:white;padding:45px 62px;min-height:600px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.login-showcase:after{content:'';position:absolute;width:540px;height:540px;border-radius:50%;border:110px solid #ffffff0a;top:23%;left:39%}.login-large-mark{height:55px;width:55px;font:800 32px Manrope;border-radius:15px;color:#184d43;background:#ddf3e8;display:grid;place-items:center;position:relative}.login-large-mark span{position:absolute;right:7px;top:8px;font-size:13px;color:#65b5a1}.login-showcase-content{max-width:570px;z-index:1}.eyebrow-light{font-size:10px;letter-spacing:2px;color:#91cbb8;font-weight:800;margin-bottom:23px}.login-showcase h1{font:800 clamp(32px,3.4vw,52px) Manrope;letter-spacing:-2px;line-height:1.15;margin:0 0 24px}.login-showcase p{color:#b8d5d1;font-size:14px;line-height:1.8;max-width:400px}.login-feature{margin-top:29px;display:flex;gap:11px;align-items:center;color:#dcece6;font-size:12px}.login-feature span{color:#92c8ae;font-size:23px}.side-footnote{color:#8fb6b2;font-size:10px;z-index:1}.login-panel{display:grid;place-items:center;padding:40px}.login-box{max-width:395px;width:100%}.login-box h2{font:800 29px Manrope;letter-spacing:-1px;margin:0 0 11px}.login-box>p{font-size:12px;line-height:1.9;color:#8c9aa0;margin:0 0 25px}.form-fields{display:flex;flex-direction:column;gap:17px}.login-note{text-align:center;margin-top:25px;font-size:10px;color:#abb7b8}
@media(max-width:1160px){.metric-grid{grid-template-columns:repeat(2,1fr)}.item-grid{grid-template-columns:repeat(2,1fr)}.content{padding:30px 24px}.topbar{padding:0 24px}}@media(max-width:850px){.shell{display:block}.sidebar{position:relative;height:auto;width:100%;min-width:0;padding:13px;flex-direction:column}.brand{padding:6px 8px 14px}.section-label,.sidebar-footer{display:none}.navigation{flex-direction:row;overflow-x:auto;gap:4px;padding-bottom:5px}.navlink{white-space:nowrap;padding:10px 12px}.topbar{height:64px}.login-layout{grid-template-columns:1fr}.login-showcase{min-height:290px;padding:30px}.login-showcase-content h1{font-size:32px}.login-panel{padding:55px 24px}.section-grid,.detail-grid{grid-template-columns:1fr}}@media(max-width:560px){.page-intro{align-items:flex-start;flex-direction:column}.metric-grid,.item-grid,.form-grid{grid-template-columns:1fr}.form-group.full{grid-column:auto}.panel-heading{align-items:flex-start;flex-direction:column;padding:20px}.content{padding:25px 15px}.topbar{padding:0 15px}.breadcrumb>span:first-child{display:none}.start-panel{align-items:flex-start;flex-direction:column}.metric-card{min-height:145px}.top-actions{gap:8px}.user-pill{font-size:0}.form-actions{flex-direction:column}.form-actions .btn{width:100%}.table-wrap{overflow-x:auto}.filter-tabs{overflow-x:auto}}

/* Fondazione landing selection */

.login-back{display:inline-flex;color:#327b71;font-size:12px;font-weight:750;margin:4px 0 25px}
.login-back:hover{color:#134e49}
.entry-choices{display:flex;flex-direction:column;gap:15px;margin-top:28px}
.entry-choice{min-height:102px;display:flex;align-items:center;gap:17px;padding:19px 18px;border:1px solid #dce9e5;border-radius:16px;background:linear-gradient(120deg,#f6fbf8,#fff);box-shadow:0 7px 26px #183e3510;transition:border-color .2s,transform .2s,box-shadow .2s}
.entry-choice:hover,.entry-choice:focus-visible{border-color:#67ac96;transform:translateY(-2px);box-shadow:0 13px 30px #183e3520;outline:none}
.entry-choice-tech{background:linear-gradient(120deg,#f3f8fa,#fff);border-color:#dce8ef}
.entry-choice-tech:hover,.entry-choice-tech:focus-visible{border-color:#77a7b8}
.entry-choice-icon,.login-area-mark{flex:0 0 47px;width:47px;height:47px;border-radius:13px;background:#dcefe7;color:#277b64;display:grid;place-items:center;font-size:25px}
.entry-choice-tech .entry-choice-icon,.login-area-mark{background:#e0ecf1;color:#33697f}
.login-area-mark-report{background:#dcefe7;color:#277b64}
.login-area-mark{margin-bottom:21px}
.entry-choice-copy{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}
.entry-choice-copy strong{font:800 14px/1.4 Manrope,system-ui;color:#203b47}
.entry-choice-copy small{font-size:11px;line-height:1.5;color:#7c9299}
.entry-choice-arrow{font-size:20px;color:#4b9682}
.login-box{max-width:435px}
@media(max-width:560px){.entry-choice{padding:16px 13px;gap:11px;min-height:96px}.entry-choice-icon{flex-basis:39px;width:39px;height:39px;font-size:22px}.entry-choice-copy strong{font-size:12px}}

.login-official-logo{position:relative;z-index:1;display:flex;align-items:center;max-width:min(410px,95%);min-height:70px}
.login-official-logo img{display:block;width:100%;height:auto;object-fit:contain;object-position:left center}
@media(max-width:650px){.login-official-logo{max-width:290px}}

/* Logo ufficiale ben visibile e leggibile su sfondo blu scuro */
.login-official-logo{max-width:560px;width:100%;min-height:0;background:#fff;border-radius:12px;padding:15px 20px;box-shadow:0 9px 26px rgba(0,0,0,.10)}
.login-official-logo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
@media(max-width:900px){.login-official-logo{max-width:100%;padding:12px 14px}}

.entry-choice-copy strong .choice-break{display:block}

/* Crediti istituzionali discreti, in armonia con i due pannelli. */
.side-footnote,.login-note{font-size:11px;line-height:1.65;letter-spacing:.05px}
.side-footnote{color:#b4d6cb;position:relative;z-index:1;max-width:510px}
.login-note{color:#798d91;text-align:center;margin-top:27px;max-width:430px}

/* Card bilanciate: gruppo icona + testo centrato, testo allineato a sinistra */
.entry-choice{display:flex;align-items:center;justify-content:center;column-gap:20px;padding:20px 25px;min-height:112px}
.entry-choice-icon{flex:0 0 56px;width:56px;height:56px;font-size:25px}
.entry-choice-copy{flex:0 1 335px;min-width:0;max-width:335px;gap:8px}
.entry-choice-copy strong{font-size:15px;line-height:1.4;letter-spacing:-.2px}
.entry-choice-copy small{font-size:12px;line-height:1.45}
@media(max-width:550px){.entry-choice{justify-content:flex-start;padding:17px 15px;gap:13px;min-height:98px}.entry-choice-icon{flex-basis:46px;width:46px;height:46px}.entry-choice-copy{flex:1;max-width:none}.entry-choice-copy strong{font-size:13px}.entry-choice-copy small{font-size:11px}}
