/* V224 - Zone GPG: layout operativo, leggibile e senza colonne compresse */
.v224-zones-page{width:100%;max-width:1680px;margin:0 auto;padding:22px 26px 34px;box-sizing:border-box;overflow:visible!important}
.v224-page-head{margin-bottom:18px}
.v224-zone-shell{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;align-items:start;min-width:0}
.v224-zone-sidebar{position:sticky;top:82px;padding:14px!important;min-width:0;max-height:calc(100vh - 110px);overflow:hidden}
.v224-zone-sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:6px 6px 12px;border-bottom:1px solid #e5edf5}
.v224-zone-sidebar-head h2{margin:2px 0 0;font-size:20px}.v224-zone-sidebar-head strong{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#edf4ff;color:#165bb8}
.v224-zone-list{display:grid;gap:7px;padding-top:10px;overflow:auto;max-height:calc(100vh - 205px)}
.v224-zone-item{display:grid;grid-template-columns:50px minmax(0,1fr) 20px;align-items:center;gap:9px;padding:11px;border:1px solid transparent;border-radius:14px;text-decoration:none;color:#10233e!important;background:#fff}
.v224-zone-item:hover{background:#f5f9ff;border-color:#dce8f7}.v224-zone-item.active{background:#eaf3ff;border-color:#cfe0f7;box-shadow:inset 3px 0 0 #2f73d9}
.v224-zone-code{font-weight:900;font-size:12px;color:#1f64bf}.v224-zone-name{display:grid;min-width:0}.v224-zone-name b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.v224-zone-name small{font-size:10px;color:#71839a}.v224-zone-chevron{font-size:22px;color:#8ca0b7}.v224-empty{padding:12px}
.v224-zone-workspace{display:grid;gap:16px;min-width:0;width:100%}
.v224-zone-profile,.v224-objectives-card,.v224-map-section{min-width:0;overflow:visible!important}
.v224-section-title,.v224-objectives-head,.v224-map-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.v224-section-title h2,.v224-objectives-head h2,.v224-map-head h2{margin:2px 0 0}
.v224-counter{padding:7px 11px;border-radius:999px;background:#eef5ff;color:#1f64bf;font-size:11px;font-weight:800;white-space:nowrap}
.v224-profile-actions{display:flex;gap:10px;align-items:end;margin-top:14px}.v224-zone-profile-form{display:grid;grid-template-columns:110px 190px minmax(240px,1fr) auto;gap:10px;align-items:end;flex:1;min-width:0}.v224-zone-profile-form label,.v224-objective-form label,.v224-new-objective label{display:grid;gap:5px;font-size:11px;font-weight:850;color:#334a66}.v224-zone-profile-form input,.v224-objective-form input,.v224-new-objective input{width:100%;min-width:0;box-sizing:border-box}.v224-zone-profile-form button,.v224-profile-actions>form button{min-height:42px}.v224-archive{white-space:nowrap}
.v224-objectives-card{padding:18px!important}.v224-objectives-head{padding-bottom:14px;border-bottom:1px solid #e6edf5}.v224-objectives-head p{margin:4px 0 0;max-width:850px}.v224-objectives-head button{white-space:nowrap}
.v224-objective-list{display:grid;gap:10px;margin-top:14px}.v224-objective-row{display:grid;grid-template-columns:76px minmax(0,1fr) 76px;gap:10px;align-items:end;padding:12px;border:1px solid #dbe6f1;background:#fbfdff;border-radius:16px;min-width:0}.v224-objective-row:hover{border-color:#bfd5ef;background:#fff}
.v224-order-block{align-self:stretch;display:grid;place-items:center;align-content:center;gap:4px;border-radius:12px;background:#f0f5fb;padding:7px}.v224-order-label{font-size:8px;font-weight:900;letter-spacing:.1em;color:#7890ab}.v224-order-block>b{font-size:22px;color:#12365f}.v224-order-actions{display:flex;gap:4px}.v224-order-actions button{width:27px;height:27px;padding:0;display:grid;place-items:center}
.v224-objective-form{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(220px,1.35fr) minmax(180px,1fr) 86px 74px;gap:9px;align-items:end;min-width:0}.v224-objective-form button{height:40px}.v224-passages input{text-align:center;font-weight:900}.v224-delete{width:76px;height:40px;padding:0!important}.v224-save{white-space:nowrap}
.v224-no-objectives{padding:22px;border:1px dashed #cbd8e7;border-radius:14px;display:grid;gap:3px;text-align:center;color:#62758d}.v224-no-objectives b{color:#173658}
.v224-new-objective{margin-top:14px;display:grid;grid-template-columns:180px minmax(130px,.8fr) minmax(220px,1.35fr) minmax(170px,1fr) 86px 84px;gap:9px;align-items:end;padding:12px;border:1px dashed #afc8e3;background:#f7fbff;border-radius:16px;min-width:0}.v224-new-title{display:flex;align-items:center;gap:9px;align-self:center}.v224-new-title>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e5f0ff;color:#1964c7;font-size:18px}.v224-new-title>div{display:grid}.v224-new-title b{font-size:12px}.v224-new-title small{font-size:9px;color:#71839a}
.v224-map-section{padding:0!important;overflow:hidden!important}.v224-map-head{padding:16px 18px;border-bottom:1px solid #e3ebf4;align-items:center}.v224-map-head p{margin:3px 0 0}.v224-map-summary{display:flex;align-items:baseline;gap:6px;padding:8px 12px;border-radius:12px;background:#f0f6ff}.v224-map-summary b{font-size:20px;color:#1f64bf}.v224-map-summary span{font-size:10px;color:#60758e}.v224-zone-map{height:470px!important;min-height:390px!important;width:100%!important;border:0!important;border-radius:0!important}
.v224-first-zone{padding:26px!important;text-align:center}.v224-first-zone p{margin:6px 0 16px;color:#687b91}
/* Collapsed sidebar: real icon rail, no clipped direct text nodes. */
html.sidebar-collapsed body.role-admin .sidebar{width:72px!important;padding:12px 8px!important;overflow:hidden!important}
html.sidebar-collapsed body.role-admin .main-content{margin-left:72px!important;max-width:calc(100vw - 72px)!important}
html.sidebar-collapsed body.role-admin .sidebar-collapse{left:58px!important}
html.sidebar-collapsed body.role-admin .side-brand{width:56px!important;height:58px!important;padding:6px!important;overflow:hidden!important;justify-content:center!important}
html.sidebar-collapsed body.role-admin .side-brand img{width:42px!important;height:42px!important;flex:0 0 42px!important}
html.sidebar-collapsed body.role-admin .side-brand span,html.sidebar-collapsed body.role-admin .side-user>div:last-child,html.sidebar-collapsed body.role-admin .nav-section,html.sidebar-collapsed body.role-admin .admin-compact-message span,html.sidebar-collapsed body.role-admin .sidebar-version{display:none!important}
html.sidebar-collapsed body.role-admin .side-user{width:56px!important;padding:8px!important;justify-content:center!important;overflow:hidden!important}
html.sidebar-collapsed body.role-admin .side-nav{width:56px!important;padding:4px 0 90px!important;overflow-x:hidden!important}
html.sidebar-collapsed body.role-admin .side-nav>a,html.sidebar-collapsed body.role-admin .admin-compact-message{width:48px!important;min-width:48px!important;max-width:48px!important;height:46px!important;min-height:46px!important;padding:0!important;margin:3px 4px!important;display:grid!important;place-items:center!important;overflow:hidden!important;white-space:nowrap!important;font-size:0!important;color:transparent!important;gap:0!important}
html.sidebar-collapsed body.role-admin .side-nav>a>i,html.sidebar-collapsed body.role-admin .admin-compact-message>i{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;margin:0!important;font-size:16px!important;color:#5d7190!important;background:#f0f4f9!important;border-radius:10px!important}
html.sidebar-collapsed body.role-admin .side-nav>a.active>i{background:#fff!important;color:#2e6fd5!important}
html.sidebar-collapsed body.role-admin .side-logout{width:56px!important;padding:6px 4px!important}.sidebar-collapsed body.role-admin .side-logout button{font-size:0!important;width:48px!important;height:44px!important;padding:0!important}.sidebar-collapsed body.role-admin .side-logout button:before{content:'↪';font-size:19px!important;color:#c52929}
@media(max-width:1320px){.v224-zones-page{padding:18px}.v224-zone-shell{grid-template-columns:200px minmax(0,1fr)}.v224-objective-form{grid-template-columns:1fr 1.25fr 1fr 80px}.v224-objective-form .v224-save{grid-column:4}.v224-instructions{grid-column:1/3}.v224-passages{grid-column:3}.v224-new-objective{grid-template-columns:150px 1fr 1.2fr 1fr 80px}.v224-new-objective>button{grid-column:5}.v224-new-title{grid-row:1/3}.v224-new-objective label:nth-of-type(3){grid-column:2/4}.v224-new-objective .v224-passages{grid-column:4}}
@media(max-width:1050px){.v224-zone-shell{grid-template-columns:1fr}.v224-zone-sidebar{position:static;max-height:none}.v224-zone-list{display:flex;gap:8px;max-height:none;overflow-x:auto;padding-bottom:4px}.v224-zone-item{min-width:210px}.v224-zone-profile-form{grid-template-columns:100px 1fr 2fr auto}.v224-objective-row{grid-template-columns:68px minmax(0,1fr)}.v224-objective-row>form:last-child{grid-column:2;justify-self:end}.v224-delete{width:90px}.v224-zone-map{height:430px!important}}
@media(max-width:820px){.v224-zones-page{padding:12px}.v224-page-head,.v224-section-title,.v224-objectives-head,.v224-map-head{display:grid}.v224-profile-actions{display:grid}.v224-zone-profile-form,.v224-objective-form,.v224-new-objective{grid-template-columns:1fr!important}.v224-objective-form>*{grid-column:auto!important}.v224-new-objective>*{grid-column:auto!important;grid-row:auto!important}.v224-objective-row{grid-template-columns:58px minmax(0,1fr)}.v224-objective-row>form:last-child{grid-column:2}.v224-zone-map{height:55vh!important;min-height:340px!important}}
