/* Short workout summaries stay separate from the individual exercise tiles. */
.workout-dash { margin-top: 22px; min-width: 0; }
.workout-dash[hidden] { display: none; }
.workout-dash-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.workout-dash-heading > span { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.workout-dash-heading small { color: var(--muted); font-size: 10px; }
.workout-dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.workout-dash-card { display: flex; flex-direction: column; min-width: 0; width: 100%; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); }
.workout-dash-open { display: flex; flex-direction: column; min-width: 0; width: 100%; padding: 12px 14px 10px; border: 0; border-radius: 7px; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.workout-dash-open:hover { background: var(--surface-pressed); }
.workout-dash-open:focus-visible, .workout-dash-repeat:focus-visible, .workout-dash-all:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.workout-dash-repeat { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; margin: 0 14px 10px; padding: 9px 12px; border: 1px solid #436889; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }
.workout-dash-repeat:hover { border-color: var(--accent); background: #254460; }
.workout-dash-repeat > span { font-size: 17px; line-height: 1; }
.workout-dash-card-top { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 13px; margin-bottom: 5px; }
.workout-dash-status { color: var(--muted); font-size: 9px; line-height: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .6px; }
.workout-dash-status.is-active { color: var(--accent); }
.workout-dash-status.is-active::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.workout-dash-arrow { color: var(--accent); font-size: 16px; line-height: 13px; }
.workout-dash-name { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; line-height: 19px; }
.workout-dash-date { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 14px; }
.workout-dash-duration { color: #b9d9f5; }
.workout-dash-summary { margin-top: 5px; color: #c2d6e8; font-size: 11px; line-height: 15px; }
.workout-dash-card-foot { display: flex; align-items: center; width: 100%; margin-top: 7px; color: var(--accent); font-size: 10px; line-height: 14px; font-weight: 700; }
.workout-dash-all { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; margin-top: 6px; padding: 10px 2px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font: inherit; font-size: 11px; font-weight: 650; cursor: pointer; }
.workout-dash-all > span { color: var(--accent); }
@media (max-width: 520px) {
  /* A summary spans both phone-sized exercise tiles, as it did before. */
  .workout-dash-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .workout-dash-open { padding: 11px 12px 9px; }
  .workout-dash-repeat { margin: 0 12px 10px; }
  .workout-dash-name { font-size: 14px; }
}

/* Single-exercise activity stays in history; unfinished entries stay resumable. */
.workout-draft-list { margin-bottom: 18px; }
.workout-draft-entry { margin-top: 7px; }
.workout-draft-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 54px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); background: var(--surface); text-align: left; font: inherit; cursor: pointer; }
.workout-draft-row > span:first-child { min-width: 0; }
.workout-draft-row strong { display: block; font-size: 12px; overflow-wrap: anywhere; }
.workout-draft-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.workout-draft-resume { color: var(--accent); flex-shrink: 0; font-size: 11px; font-weight: 700; }
.workout-draft-row:hover { background: var(--surface-pressed); border-color: #527ba1; }
.workout-draft-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
