.weight-records { padding-block: clamp(32px, 6vw, 76px); background: #fffdf9; }
.weight-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.weight-heading p { margin-top: 8px; color: #57615a; }
.weight-controls { display: flex; gap: 8px; }
.weight-controls button { width: 46px; height: 46px; border: 1px solid #17211d; border-radius: 50%; background: #17211d; color: white; font: inherit; cursor: pointer; }
.weight-controls button:disabled { opacity: .3; cursor: default; }
.weight-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; padding-block: 4px 16px; scrollbar-color: #77866a #eee7dc; }
.weight-track:empty { display: none; }
.weight-track figure { flex: 0 0 min(82%, 340px); margin: 0; scroll-snap-align: start; min-width: 0; }
.weight-track img { width: 100%; height: 340px; object-fit: contain; background: #f4f0e8; }
.weight-track figcaption { padding-top: 8px; overflow-wrap: anywhere; font-size: 13px; color: #57615a; }
#weight-status { font-size: 13px; color: #57615a; }
.weight-preview { margin-top: 18px; font-size: 13px; }
.weight-preview summary { cursor: pointer; padding-block: 10px; }
.weight-preview label, .weight-preview input { display: block; max-width: 100%; margin-block: 8px; }
