.dist-work{margin:1rem 0;padding:1rem;border:1px solid #177c69;border-radius:1rem;background:#effaf5}
.dist-work button{font:inherit;cursor:pointer;min-height:44px}
.dist-work button:focus-visible{outline:3px solid #c96a00;outline-offset:2px}
.dist-work [data-dist-scenario][aria-pressed=true]{background:#076c5b;color:white}
.dist-shelf{margin:1rem 0;padding:.75rem;border:1px dashed #177c69;border-radius:.5rem}
.dist-shelf-pieces{display:flex;gap:.35rem;flex-wrap:wrap;margin-top:.5rem}
.dist-piece{position:relative;z-index:1;min-width:44px;min-height:44px;border:2px solid #077b6b;border-radius:.3rem;background:#b8ead8;touch-action:none}
.dist-shelf .dist-piece.variable{min-width:90px}
.dist-piece.unit{background:#f9c97f;border-color:#a65a17}
.dist-piece[aria-pressed=true]{outline:3px solid #c96a00;outline-offset:2px}
.dist-scroll{overflow-x:auto;margin:.5rem 0}
.dist-grid{display:grid;grid-template-columns:repeat(12,48px);grid-template-rows:repeat(4,48px);gap:2px;width:max-content}
.dist-cell{width:48px;height:48px;padding:0;border:1px solid #d6dfdc;background:#fff}
.dist-cell.target{background:#e3f4ed;border:1px dashed #25806f}
.dist-grid .dist-piece.variable{grid-column:span var(--dist-piece-width)}
.dist-grid .dist-piece{width:100%;height:48px}
.dist-history{display:flex;gap:.5rem}
