figure { margin: 1.75rem 0; padding: clamp(.9rem, 3vw, 1.5rem); border: 1px solid #c9dad6; background: #f6f9f8; }
figcaption { margin-bottom: 1rem; font-size: .94rem; color: #465b57; }
figcaption strong { color: var(--ink); font-size: 1.1rem; }
.submission > div { display: grid; grid-template-columns: 6.4rem repeat(3, minmax(0, 1fr)); gap: .35rem; align-items: stretch; margin: .4rem 0; }
.submission b, .submission span { padding: .4rem; font-size: .87rem; }
.submission span { background: #dcebe6; text-align: center; }
.submission .launch { grid-column: span 3; background: #276455; color: white; }
.buckets input { display: block; width: min(100%, 25rem); margin: .8rem 0; accent-color: #226c5d; }
.buckets output { display: block; font-weight: 600; }
#slots { display: grid; grid-template-columns: repeat(auto-fit,minmax(1.5rem,1fr)); gap: .28rem; margin: .85rem 0 .4rem; }
#slots span { padding: .15rem 0; text-align: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
#slots .real, .legend span:first-child::before { background: #276455; color: white; }
#slots .pad, .legend span:last-child::before { color: #475451; background: repeating-linear-gradient(135deg,#d5ddd9 0 2px,#f2f5f3 2px 6px); }
.legend { display: flex; gap: 1rem; margin: .4rem 0 0; color: #465b57; font-size: .85rem; }
.legend span::before { content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: middle; margin-right: .35rem; }
@media (max-width: 520px) {
  .submission > div { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .submission b { grid-column: 1 / -1; padding: .15rem 0; }
}
