/* Bodyweight log */
.weigh-prompt { width: 100%; margin-top: 8px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; text-align: left;
  border-radius: 18px; background: var(--surface); border: 1px dashed var(--line-2); }
.wp-ico { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; background: var(--volt-dim); display: flex; align-items: center; justify-content: center; }
.wp-ico svg { width: 16px; height: 16px; fill: none; stroke: var(--volt); stroke-width: 2.6; stroke-linecap: round; }
.weigh-prompt b { display: block; font-size: 14px; }
.weigh-prompt small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.w-entry { display: flex; align-items: center; gap: 10px; }
/* Box holds only the number (centered); the unit sits outside, next to the + button. */
.w-entry .icon-btn { width: 56px; height: 56px; border-radius: 16px; }
.w-entry label { flex: 1; display: flex; align-items: center; justify-content: center; height: 72px; border-radius: 18px;
  background: var(--surface-2); border: 1px solid var(--line); }
.w-entry input { field-sizing: content; width: 4.2ch; min-width: 2ch; max-width: 6ch; background: none; border: 0; text-align: center;
  font-family: var(--display); font-size: 44px; line-height: 1; color: var(--text); padding: 0; -moz-appearance: textfield; }
.w-entry input:focus { outline: none; color: var(--volt); }
.w-entry input::-webkit-outer-spin-button, .w-entry input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Two equal-width unit slots keep the number box exactly in the middle: left = switch unit, right = current unit. */
.w-unit { flex: 0 0 38px; text-align: center; font-size: 14px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.w-swap { height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: 12px; }
.w-swap:active { transform: scale(.95); }
.w-recent { margin-top: 18px; }
.w-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.w-row span { flex: 1; color: var(--muted); }
.w-del { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--faint); }
.w-del svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

.w-card { padding: 16px; }
.w-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.w-big { font-size: 36px; }
.w-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.w-top .btn { height: 40px; padding: 0 14px; font-size: 13px; }
.w-chart { display: block; width: 100%; height: 120px; margin-top: 14px; }
.w-pace { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 13px; color: #d4d4d8; }
.w-pace.ok { background: var(--volt-dim); color: var(--text); }
.w-pace.warn { background: var(--fire-dim); color: var(--text); }
.w-pace .btn { height: 36px; padding: 0 12px; font-size: 12px; flex: 0 0 auto; }
.w-foot { margin-top: 10px; font-size: 11px; color: var(--faint); }
