/* Admin (MVP cut §S8): the MMN register's compact 7-step strip, the MMN
   detail's 7-column flow panel and the story rows. All three read
   Admin::MmnProgress / Admin::MmnStory states: done · pending · hold · na. */
.steps { display: inline-flex; flex-wrap: wrap; gap: 2px; }
.stp {
  display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 20px; padding: 0 3px;
  border-radius: 3px; font: 600 11px/1 var(--body); letter-spacing: .03em; text-transform: uppercase; border: 1px solid transparent;
}
.stp.done { background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green-ink); border-color: color-mix(in srgb, var(--green) 40%, transparent); }
.stp.pending { background: transparent; color: var(--gold-ink); border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.stp.hold { background: var(--gold); color: #241700; border-color: var(--gold); }
.stp.na { background: transparent; color: var(--ink-4); border: 1px dashed var(--edge-2); }

.flow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.fs { display: grid; gap: 4px; align-content: start; padding: var(--s3) var(--s3) var(--s3) var(--s4); border-left: 1px solid var(--edge); box-shadow: inset 0 3px 0 var(--edge-2); }
.fs:first-child { border-left: 0; }
.fs.done { box-shadow: inset 0 3px 0 var(--green); }
.fs.pending { box-shadow: inset 0 3px 0 color-mix(in srgb, var(--gold) 50%, transparent); }
.fs.hold { box-shadow: inset 0 3px 0 var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.fs.na { color: var(--ink-4); }
.fs .k { font-size: var(--t12); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.fs .t { font-size: var(--t13); color: var(--ink); font-family: var(--mono); }
@media (max-width: 900px) {
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fs:nth-child(4n+1) { border-left: 0; }
  .fs { border-top: 1px solid var(--edge); }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs { border-left: 0; }
  .fs:nth-child(even) { border-left: 1px solid var(--edge); }
}

.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 12px minmax(0, 1.6fr) minmax(0, 1.1fr) 8.5rem 11rem; gap: var(--s2) var(--s3); align-items: center; min-height: 48px; padding: 6px var(--s4); border-bottom: 1px solid var(--edge); font-size: var(--t13); color: var(--ink-2); }
.tl li:last-child { border-bottom: 0; }
.tl li.empty { display: block; min-height: 0; padding: var(--s3) var(--s4); }
.tl b { color: var(--ink); font-weight: 600; }
.tl .det { display: block; color: var(--ink-3); font-size: var(--t12); }
.tl .rf { font-family: var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.tl .tm { font-family: var(--mono); color: var(--ink-2); white-space: nowrap; }
.tl .sts { justify-self: start; }
.dot2 { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--edge-2); }
.dot2.done { background: var(--green); border-color: var(--green); }
.dot2.bad { background: var(--rust); border-color: var(--rust); }
.dot2.todo { border: 2px dashed var(--gold); background: transparent; }
@media (max-width: 760px) {
  .tl li { grid-template-columns: 12px minmax(0, 1fr) auto; align-items: start; }
  .tl li .dot2 { margin-top: 4px; }
  .tl .rf, .tl .tm { grid-column: 2 / 3; }
  .tl .sts { grid-column: 3; grid-row: 1; justify-self: end; }
}
