/* Healthy Age (D510) e card BIO sull'avatar della Dashboard. Caricato DOPO old-theme.css e scan.css.
   D519: le quattro card BIO (Healthy Age, Stress, Readiness, Affaticamento totale) sono PICCOLE e TUTTE UGUALI (160 x 68 px; 116 x 60 a telefono), con etichetta su una riga e valore;
   stanno ai bordi (stress e affaticamento a sinistra, Healthy Age e Readiness a destra) e lasciano libero il corpo. Annulla l'ingrandimento di D517 (280 x 172).
   Le quattro età non sono più sempre visibili: compaiono in un popover (hover, fuoco o clic/tocco sul chip o sulla card).
   Testi scuri su fondo chiaro (contrasto oltre 4,5:1, provato dai test); pallini ≥3:1 e mai unico segnale (accanto c'è sempre il nome e «N/D»). */
.bio-markers{--bio-w:160px;--bio-h:68px}
.bio-markers .bio-marker{width:var(--bio-w);box-sizing:border-box;padding:0}
.bio-markers .bio-age,.bio-markers .bio-readiness{left:auto;right:2%;text-align:left}
.bio-markers .bio-stress,.bio-markers .bio-fatigue{right:auto;left:2%;text-align:right}
.bio-markers .bio-age{top:8%}.bio-markers .bio-stress{top:27%}.bio-markers .bio-readiness{top:30%}.bio-markers .bio-fatigue{top:69%}
.bio-markers .bio-marker .bio-holo{box-sizing:border-box;width:100%;height:var(--bio-h);display:flex;flex-direction:column;justify-content:center;gap:2px;padding:6px 10px;overflow:hidden}
.bio-markers .bio-marker .bio-holo-label{margin:0;max-width:100%;font-size:10px;font-weight:800;letter-spacing:.01em;line-height:1.25;text-transform:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bio-markers .bio-marker .bio-holo strong{margin:0;font-size:22px;line-height:1.1;white-space:nowrap}
.bio-markers .bio-marker .bio-holo strong small{font-size:11px;font-weight:600;letter-spacing:0}
.bio-age .hy-tile{color:#1b4452;pointer-events:auto;cursor:default}
.bio-age .hy-kicker{color:#1b4452;letter-spacing:.06em}
.bio-age .hy-tile .hy-value{display:block;color:#05566a;font-weight:700;letter-spacing:-.02em;text-shadow:none}
.bio-age .hy-value small{color:#1b4452}
.bio-age .hy-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.bio-age .hy-btn{pointer-events:auto;box-sizing:border-box;min-height:44px;min-width:44px;padding:6px 10px;border:1px solid #0a6f84;border-radius:8px;background:#fff;color:#0b4a5a;font:inherit;font-size:12px;font-weight:600;line-height:1.25;letter-spacing:0;text-align:left;text-transform:none;cursor:pointer}
.bio-age .hy-btn:hover{background:#e6f6f9}
.bio-age .hy-btn:focus-visible{outline:3px solid #0b4a5a;outline-offset:2px}
/* il chip è piccolo; l'area di tocco vera è tutta la card (alta almeno 60 px), che apre lo stesso popover */
.bio-age .hy-chip{align-self:flex-start;max-width:100%;min-height:0;min-width:0;margin-top:1px;padding:1px 7px;border-radius:999px;font-size:9px;font-weight:700;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bio-marker.bio-age.hy-open{z-index:7}
.bio-age .hy-pop{position:absolute;top:calc(100% + 6px);right:0;z-index:6;box-sizing:border-box;width:min(270px,calc(100vw - 24px));padding:12px 14px;border:1px solid #0a6f84;border-radius:12px;background:#fff;box-shadow:0 10px 30px rgba(20,70,90,.22);color:#1b4452;font-size:12px;font-weight:500;line-height:1.4;letter-spacing:0;text-align:left;text-transform:none;pointer-events:auto}
.bio-age .hy-pop[hidden]{display:none}
.bio-age .hy-pop:focus-visible{outline:3px solid #0b4a5a;outline-offset:2px}
.bio-age .hy-pop-close{min-width:96px;text-align:center}
.bio-age .hy-pop-title{margin:0 0 6px;font-size:12px;font-weight:800;color:#05566a}
.bio-age .hy-pop .hy-diff{margin:0 0 8px;color:#1b4452;font-size:12px;font-weight:600}
.bio-age .hy-pop .hy-miss{margin:0 0 10px;padding:0;list-style:none;display:grid;gap:6px}
.bio-age .hy-pop .hy-miss b{display:inline;font-weight:800;color:#05566a}
.bio-age .hy-list{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:7px}
.bio-age .hy-list li{display:grid;grid-template-columns:12px max-content auto;justify-content:start;column-gap:8px;align-items:center;color:#1b4452;font-size:12px;font-weight:600;line-height:1.2;letter-spacing:0;text-transform:none}
.bio-age .hy-name{min-width:0;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.bio-age .hy-num{margin-left:6px;font-weight:800;color:#05566a;font-variant-numeric:tabular-nums}
.bio-age .hy-dot{width:12px;height:12px;box-sizing:border-box;border-radius:50%;border:3px solid var(--hy-c,#0a6f84);background:var(--hy-c,#0a6f84)}
.bio-age .hy-dot.hy-off{background:transparent}
.bio-age .hy-c-metabolic{--hy-c:#0a6f84}.bio-age .hy-c-biological{--hy-c:#7a3a9e}.bio-age .hy-c-fitness{--hy-c:#a14a05}.bio-age .hy-c-heart{--hy-c:#b0213f}
@media(max-width:700px){
  .bio-markers{--bio-w:116px;--bio-h:60px}
  .bio-markers .bio-marker .bio-holo{padding:5px 7px;gap:1px}
  .bio-markers .bio-marker .bio-holo-label{font-size:8.5px;letter-spacing:0}
  .bio-markers .bio-marker .bio-holo strong{font-size:17px}
  .bio-markers .bio-marker .bio-holo strong small{font-size:9px}
  .bio-age .hy-pop{width:min(250px,calc(100vw - 24px));padding:10px 12px}
  .bio-age .hy-btn{font-size:11px;padding:5px 8px;min-height:52px} /* il contenuto del telefono è ridotto a 0,86: 52 px diventano oltre 44 px di tocco */
  .bio-age .hy-chip{min-height:0;font-size:8px;padding:1px 6px}
}
@media(prefers-reduced-motion:reduce){.bio-age .hy-btn{transition:none}}
