.ps-root{
  max-width: 980px;
  margin: 20px auto;
  padding: 14px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  background: #fff;
}

.ps-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.ps-title{ font-size: 18px; font-weight: 700; }

.ps-controls{ display:flex; gap: 8px; flex-wrap: wrap; }
.ps-btn{
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.18);
  background: #f7f7f7;
  cursor: pointer;
}

.ps-stage{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.ps-beaker{
  height: 164px;
  border: 2px solid rgba(0,0,0,.28);
  border-radius: 14px 14px 18px 18px;
  overflow:hidden;
  display:flex;
  flex-direction: column-reverse;
  user-select:none;
  cursor:pointer;
  background: #fff;
}

.ps-beaker.selected{
  outline: 3px solid rgba(0,0,0,.55);
  outline-offset: 2px;
}

.ps-layer{
  height: 25%;
  display:flex;
  align-items:center;
  justify-content:center;
  border-top: 1px solid rgba(0,0,0,.06);
  background: #ffffff;
  font-weight: 800;
  letter-spacing: .5px;
  color: rgba(0,0,0,.80);
}

.ps-layer.empty{
  color: transparent;
}

.ps-status{
  margin-top: 10px;
  font-size: 14px;
  opacity: .85;
}