.mh-block{margin-top:14px}.mh-block h3{font-size:14px;margin-bottom:8px}.mh-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.mh-item{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #d3e8ed;border-radius:10px;padding:10px 12px;background:#fff}.mh-item div:first-child{display:grid;gap:2px;min-width:0}.mh-item span,.mh-item small,.mh-empty{font-size:12px;color:#638594}.mh-item strong{overflow-wrap:anywhere}.mh-actions{display:flex;gap:6px;flex-wrap:wrap}.mh-session{display:grid;gap:4px;font-size:12px;color:#537987;font-weight:700;margin-bottom:10px;max-width:320px}.mh-session select{padding:8px;border:1px solid #d3e8ed;border-radius:8px}.mh-status{font-size:12px;color:#537987;min-height:1em;margin-top:8px}

.mh-derived{margin-top:6px;font-size:12px;color:#537987}.mh-derived summary{cursor:pointer;font-weight:700;color:#2f6f86}.mh-derived h4{margin:8px 0 4px;font-size:12px}.mh-derived ul{list-style:none;padding:0;margin:0;display:grid;gap:4px}.mh-derived li{display:grid;gap:1px}.mh-derived li.mh-warn{color:#8a5a00}

/* D503 · Pagina Misurazioni (utente e professionista sulla persona): semplicità. Colonna leggibile, poche card, dettagli chiusi, azione principale evidente. */
.x-page[data-extra-view="misurazioni"]{max-width:880px;margin-inline:auto}
.x-page[data-extra-view="misurazioni"] .x-head{align-items:center;margin-bottom:22px}
.x-page[data-extra-view="misurazioni"] .x-head h1{font-size:28px;margin:6px 0 4px}
.x-page .mx-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;position:relative}
.x-page .x-btn.mx-primary{min-height:44px;padding:0 22px;border-radius:12px;font-weight:700;background:#39c7d7!important;border-color:#39c7d7!important;color:#fff!important}
.x-page .x-btn.mx-primary[disabled]{opacity:.55;cursor:not-allowed}
.mx-menu{position:relative}
.mx-menu>summary{list-style:none;cursor:pointer;min-height:44px;padding:0 16px;display:inline-flex;align-items:center;gap:6px;border:1px solid #cfe4ec;border-radius:12px;background:#fff;color:#168fa3;font-weight:600;font-size:14px}
.mx-menu>summary::-webkit-details-marker{display:none}
.mx-menu>summary::after{content:'▾';font-size:11px}
.mx-menu-list{position:absolute;right:0;top:calc(100% + 6px);z-index:6;min-width:230px;display:grid;gap:2px;padding:6px;background:#fff;border:1px solid #d7eaf0;border-radius:12px;box-shadow:0 12px 32px #16384224}
.mx-menu-list .x-btn{border:0!important;text-align:left;min-height:44px;font-size:14px}
.x-page[data-extra-view="misurazioni"] .x-measure-upload-status:empty{display:none}
.x-page[data-extra-view="misurazioni"] .x-tabs{border:0;gap:8px;margin:26px 0 12px;padding-bottom:4px;scrollbar-width:none}
.x-page[data-extra-view="misurazioni"] .x-tabs::-webkit-scrollbar{display:none}
.x-page[data-extra-view="misurazioni"] .x-tabs button{min-height:44px;padding:0 16px!important;border:1px solid #d7eaf0!important;border-radius:999px!important;background:#fff!important;font-size:14px}
.x-page[data-extra-view="misurazioni"] .x-tabs button.active{background:#e6f7fa!important;border-color:#39c7d7!important;color:#168fa3!important;font-weight:600}
.mx-cat .x-section{margin:12px 0}
.mx-cat .x-section h2{font-size:18px;margin:0}
.mx-fold,.mh-fold{border:1px solid #e3eff3;border-radius:14px;background:#fff;margin:0 0 12px}
.mx-fold>summary,.mh-fold>summary{min-height:48px;padding:0 16px;display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;font-size:14px;font-weight:600;color:#168fa3}
.mx-fold>summary::-webkit-details-marker,.mh-fold>summary::-webkit-details-marker{display:none}
.mx-fold>summary::before,.mh-fold>summary::before{content:'›';width:14px;font-size:18px;line-height:1;transition:transform .15s}
.mx-fold[open]>summary::before,.mh-fold[open]>summary::before{transform:rotate(90deg)}
.mx-fold-body{padding:0 16px 16px}
.mx-fold-body>h2{display:none}
.mx-fold .ssp-search,.mx-fold .ssp select,.mh-fold select{min-height:44px;font-size:14px}
.mh-fold{margin:12px 0 0}
.mh-fold>.mh-block{margin:0;padding:0 16px 16px}
.mh-fold .mh-block h3{font-size:12px;color:#5f7f8e!important;font-weight:600}
.mh-acq{background:#fff;border:1px solid #e3eff3;border-radius:14px;padding:2px 16px;margin:0}
.mh-acq>.mh-empty{padding:28px 8px;text-align:center;font-size:13px;line-height:1.5}
.mh-acq .mh-list{gap:0}
.mh-acq .mh-item{border:0;border-bottom:1px solid #eaf3f6;border-radius:0;background:none;padding:10px 0}
.mh-acq .mh-item:last-child{border-bottom:0}
.mh-acq .mh-item div:first-child strong{font-size:15px;font-weight:600;color:#24333b}
.mh-acq .mh-actions{gap:0}
.mh-acq .mh-actions .x-btn{min-height:44px;padding:0 10px;border:0!important;background:none!important;font-size:13px;color:#5f7f8e!important}
.mh-acq .mh-actions .x-btn:hover{color:#168fa3!important}
@media(max-width:600px){.x-page .mx-actions{width:100%}.x-page .mx-actions .mx-primary{flex:1}.mx-menu-list{right:0}.x-page[data-extra-view="misurazioni"] .x-head{align-items:flex-start}}
