.cell-review { max-width: 68rem; margin: 1.5rem auto; }
.cell-stages { display: flex; gap: .8rem 2rem; flex-wrap: wrap; padding-left: 1.5rem; color: #5b7062; }
.cell-stages [aria-current="step"], .cell-stages .complete { color: #176632; font-weight: 750; }
.cell-diagram { position: relative; overflow: hidden; border-radius: 1rem; }
.cell-diagram img { display: block; width: 100%; height: auto; }
.cell-diagram.bacterial { aspect-ratio: 815 / 570; }
.cell-diagram.bacterial img { position: absolute; width: 188.466%; max-width: none; top: -31.579%; left: 0; }
.cell-marker {
  position: absolute; translate: -50% -50%; width: 36px; height: 36px;
  border: 2px solid #37774c; border-radius: 50%; background: white;
  color: #153d29; font: inherit; font-weight: 750; cursor: pointer; padding: 0;
}
.cell-marker.placed-label { background: #176632; color: white; opacity: 1; cursor: default; }
.cell-labels { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.cell-labels button, .cell-drag-label, #cell-next {
  border: 2px solid #91b79d; border-radius: .8rem; background: white;
  color: #153d29; font: inherit; font-weight: 700; padding: .65rem .8rem;
}
.cell-labels button { cursor: pointer; touch-action: none; }
.cell-labels button[aria-pressed="true"] { background: #d9f1df; border-color: #23753e; }
.cell-drag-label { position: fixed; translate: -50% -50%; pointer-events: none; z-index: 10; }
#cell-review-note { margin: 1rem 0; min-height: 2.5em; color: #176632; font-weight: 700; }
#cell-answer-key { columns: 2; padding-left: 2rem; line-height: 1.6; }
#cell-answer-key li { break-inside: avoid; }
#cell-next { background: #176632; color: white; cursor: pointer; }
#cell-next:disabled { opacity: .5; cursor: default; }
button:focus-visible { outline: 3px solid #2056a5; outline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .table-page { padding: 12px 8px; }
  .table-shell { padding: 18px 12px; }
  h1 { font-size: 1.8rem; }
  .cell-marker { width: 28px; height: 28px; font-size: .8rem; }
  #cell-answer-key { columns: 1; }
}
