/* A single records panel: equal cells, one typographic scale, fixed baselines. */
#app > .exercise-six-stats.exercise-records-panel{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:repeat(2,96px);
  grid-auto-rows:96px;
  gap:0;
  margin:16px var(--main-page-inset) 2px;
  padding:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #e0e6ec;
  border-top:3px solid #c8f060;
  border-radius:14px;
  box-shadow:0 5px 18px #1b293b06;
}
.exercise-records-panel .exercise-stat{
  display:grid;
  grid-template-rows:26px 28px 14px;
  grid-template-columns:minmax(0,1fr);
  align-content:start;
  align-items:start;
  justify-content:stretch;
  gap:3px;
  height:96px;
  min-height:96px;
  min-width:0;
  margin:0;
  padding:11px 10px 9px;
  background:#fff;
  border:0;
  border-right:1px solid #edf0f3;
  border-bottom:1px solid #edf0f3;
  border-radius:0;
  box-shadow:none;
}
.exercise-records-panel .exercise-stat.exercise-stat-pb{background:#fff;border-color:#edf0f3}
.exercise-records-panel .exercise-stat:nth-child(3n){border-right:0}
.exercise-records-panel .exercise-stat:nth-child(n+4){border-bottom:0}
.exercise-records-panel .exercise-stat > span{
  display:block;
  height:26px;
  min-height:0;
  margin:0;
  color:#687589;
  font-size:9.5px;
  font-weight:650;
  line-height:13px;
}
.exercise-records-panel .exercise-stat > strong,
.exercise-records-panel .exercise-stat[data-stat="one-rep"] > strong,
.exercise-records-panel .exercise-stat[data-stat="multi-rep"] > strong{
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:baseline;
  height:28px;
  min-width:0;
  margin:0;
  gap:4px;
  color:#152238;
  font-size:var(--record-value-size);
  font-weight:850;
  line-height:28px;
  letter-spacing:-.5px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.exercise-records-panel .exercise-stat > strong small{
  display:block;
  margin:0;
  color:#718096;
  font-size:8px;
  font-weight:700;
  line-height:1;
  letter-spacing:0;
}
.exercise-records-panel .exercise-stat .stat-context{
  display:block;
  height:14px;
  min-height:14px;
  margin:0;
  color:#718096;
  font-size:9px;
  font-weight:600;
  line-height:14px;
  letter-spacing:0;
}

/* One spacing system for creation and renaming, including the action row. */
.exercise-editor-form{display:grid;gap:14px;margin:0;padding-top:2px}
.exercise-editor-form .field{margin:0;gap:6px;min-width:0;line-height:15px}
.exercise-editor-form .fields{margin:0;gap:12px;align-items:start}
.exercise-editor-form .field input,
.exercise-editor-form .field select{height:46px;min-height:46px;padding:9px 10px}
.exercise-editor-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.exercise-editor-actions > button{min-height:44px}
.exercise-editor-actions > :only-child{grid-column:1/-1}
.exercise-detail-actions{display:grid;gap:10px}
@media(max-width:420px){
  /* Keep the full tracking-type label readable at the required 16px input size. */
  .exercise-editor-form > .fields:not(.exercise-default-fields){grid-template-columns:1fr;gap:14px}
}
