/* Compact profile controls for 148 achievements, records and a round avatar. */
.health-sheet .health-avatar{width:68px;height:68px;min-width:68px;border-radius:50%;overflow:hidden;border:3px solid #9cd4b5;box-shadow:0 4px 14px #183d3840;background:#1b7957;line-height:1;}
.health-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;}
.health-avatar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0 6px;}
.health-avatar-actions label{display:grid;gap:5px;flex:1 1 190px;font-size:14px;font-weight:750;color:var(--health-text);}
.health-avatar-actions input{font-size:13px;max-width:100%;border:1px solid var(--health-border);border-radius:12px;background:var(--trip-surface);color:var(--health-text);padding:7px;}
.health-avatar-actions button{min-height:46px;padding:10px 13px;border:1px solid var(--health-border);border-radius:12px;color:var(--health-text);background:var(--health-soft);font-weight:750;}
.health-avatar-actions small{flex:1 1 100%;font-size:12px;line-height:1.45;color:var(--health-muted);}
.health-badge-next{margin:0 2px 12px;font-size:14px;line-height:1.45;color:var(--health-muted);}
.health-period{grid-template-columns:repeat(4,minmax(0,1fr));}.health-period button{font-size:13px!important;padding:10px 3px!important;}
.health-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.health-record{border:1px solid var(--health-border);background:var(--health-soft);border-radius:14px;padding:12px;display:grid;gap:4px;min-width:0;}
.health-record strong{font-size:14px;color:var(--health-text);}.health-record span{font-size:19px;font-weight:800;color:var(--health-green);}.health-record small{font-size:12px;color:var(--health-muted);}
.health-badge-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;margin:6px 0 2px;}
.health-badge-tools label{display:grid;gap:4px;min-width:0;color:var(--health-text);font-size:13px;font-weight:750;}
.health-badge-tools input,.health-badge-tools select{width:100%;min-width:0;min-height:43px;box-sizing:border-box;border:1px solid var(--health-border);border-radius:11px;background:var(--trip-surface);color:var(--health-text);padding:8px;font-size:14px;}
#health-badge-visible{margin:10px 0;font-size:13px;}
.health-badge progress{width:100%;height:10px;margin-top:auto;accent-color:var(--health-green);}
.health-badge .badge-progress-label{font-size:12px;color:var(--health-muted);}
.health-badges-more{width:100%;min-height:47px;margin:12px 0 2px;padding:9px 14px;border:1px solid var(--health-border);border-radius:13px;background:var(--health-soft);color:var(--health-text);font-weight:800;}
.health-badges-more[hidden]{display:none!important;}
body.ui-dark .health-avatar{border-color:#8cd9a9;background:#205d45;}
body.ui-dark .health-avatar-actions input,body.ui-dark .health-badge-tools input,body.ui-dark .health-badge-tools select{background:#1c3948;color:#f1f9ff;border-color:#5a8191;}
body.ui-dark .health-avatar-actions button,body.ui-dark .health-badges-more{background:#204b40;color:#eefaf1;border-color:#5e9a79;}
body.ui-dark .health-record{background:#17372f;border-color:#4a8066;}
body.ui-dark .health-record strong,body.ui-dark .health-record small,body.ui-dark .health-badge-next{color:#e1f5e9;}
body.ui-dark .health-record span{color:#9febbf;}
body.screen-private .health-avatar{filter:blur(9px);}
@media(max-width:375px){.health-period button{font-size:12px!important;}.health-badge-tools{grid-template-columns:1fr;}}
